Class ListGenerators.UnhashableElementsImmutableListGenerator
java.lang.Object
com.google.common.collect.testing.TestUnhashableCollectionGenerator<List<UnhashableObject>>
com.google.common.collect.testing.google.ListGenerators.UnhashableElementsImmutableListGenerator
- All Implemented Interfaces:
TestCollectionGenerator<UnhashableObject>, TestContainerGenerator<Collection<UnhashableObject>, UnhashableObject>, TestListGenerator<UnhashableObject>
- Enclosing class:
ListGenerators
public static class ListGenerators.UnhashableElementsImmutableListGenerator
extends TestUnhashableCollectionGenerator<List<UnhashableObject>>
implements TestListGenerator<UnhashableObject>
- Author:
- Hayward Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(UnhashableObject[] elements) Creates a new collection containing the given elements; implement this method instead ofTestUnhashableCollectionGenerator.create(Object...).Methods inherited from class TestUnhashableCollectionGenerator
create, createArray, order, samplesModifier and TypeMethodDescriptionCreates 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 TestListGenerator
createModifier and TypeMethodDescriptionCreates a new container containing the given elements.
-
Constructor Details
-
UnhashableElementsImmutableListGenerator
public UnhashableElementsImmutableListGenerator()
-
-
Method Details
-
create
Description copied from class:TestUnhashableCollectionGeneratorCreates a new collection containing the given elements; implement this method instead ofTestUnhashableCollectionGenerator.create(Object...).- Specified by:
createin classTestUnhashableCollectionGenerator<List<UnhashableObject>>
-