Class SetGenerators.ImmutableSetWithBadHashesGenerator

    • Constructor Detail

      • ImmutableSetWithBadHashesGenerator

        public ImmutableSetWithBadHashesGenerator()
    • Method Detail

      • create

        public java.util.Set<java.lang.Object> create​(java.lang.Object... elements)
        Description copied from interface: TestContainerGenerator
        Creates a new container containing the given elements. TODO: would be nice to figure out how to use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an array of the erased type.
        Specified by:
        create in interface TestContainerGenerator<java.util.Collection<java.lang.Object>,​java.lang.Object>
        Specified by:
        create in interface TestSetGenerator<java.lang.Object>