Class SetGenerators.TestUnhashableSetGenerator
java.lang.Object
com.google.common.collect.testing.TestUnhashableCollectionGenerator<Set<UnhashableObject>>
com.google.common.collect.testing.google.SetGenerators.TestUnhashableSetGenerator
- All Implemented Interfaces:
TestCollectionGenerator<UnhashableObject>, TestContainerGenerator<Collection<UnhashableObject>, UnhashableObject>, TestSetGenerator<UnhashableObject>
- Direct Known Subclasses:
SetGenerators.ImmutableSortedSetUnhashableGenerator
- Enclosing class:
SetGenerators
public abstract static class SetGenerators.TestUnhashableSetGenerator
extends TestUnhashableCollectionGenerator<Set<UnhashableObject>>
implements TestSetGenerator<UnhashableObject>
- Author:
- Kevin Bourrillion, Jared Levy, Hayward Chan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class TestUnhashableCollectionGenerator
create, create, createArray, order, samplesModifier and TypeMethodDescriptionprotected abstract Set<UnhashableObject> create(UnhashableObject[] elements) Creates a new collection containing the given elements; implement this method instead ofTestUnhashableCollectionGenerator.create(Object...).Creates a new container containing the given elements.createArray(int length) Helper method to create an array of the appropriate type used by this generator.order(List<UnhashableObject> insertionOrder) Returns the iteration ordering of elements, given the order in which they were added to the container.samples()Returns the sample elements that this generate populates its container with.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TestSetGenerator
createModifier and TypeMethodDescriptionCreates a new container containing the given elements.
-
Constructor Details
-
TestUnhashableSetGenerator
public TestUnhashableSetGenerator()
-