Class MapGenerators.ImmutableMapUnhashableValuesGenerator
java.lang.Object
com.google.common.collect.testing.TestUnhashableCollectionGenerator<Collection<UnhashableObject>>
com.google.common.collect.testing.google.MapGenerators.ImmutableMapUnhashableValuesGenerator
- All Implemented Interfaces:
TestCollectionGenerator<UnhashableObject>, TestContainerGenerator<Collection<UnhashableObject>, UnhashableObject>
- Enclosing class:
MapGenerators
public static class MapGenerators.ImmutableMapUnhashableValuesGenerator
extends TestUnhashableCollectionGenerator<Collection<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.
-
Constructor Details
-
ImmutableMapUnhashableValuesGenerator
public ImmutableMapUnhashableValuesGenerator()
-
-
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<Collection<UnhashableObject>>
-