Class SetGenerators.ImmutableSortedSetUnhashableGenerator
java.lang.Object
com.google.common.collect.testing.TestUnhashableCollectionGenerator<Set<UnhashableObject>>
com.google.common.collect.testing.google.SetGenerators.TestUnhashableSetGenerator
com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetUnhashableGenerator
- All Implemented Interfaces:
TestCollectionGenerator<UnhashableObject>, TestContainerGenerator<Collection<UnhashableObject>, UnhashableObject>, TestSetGenerator<UnhashableObject>
- Enclosing class:
SetGenerators
public static class SetGenerators.ImmutableSortedSetUnhashableGenerator
extends SetGenerators.TestUnhashableSetGenerator
- Author:
- Kevin Bourrillion, Jared Levy, 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 TestSetGenerator
createModifier and TypeMethodDescriptionCreates a new container containing the given elements.
-
Constructor Details
-
ImmutableSortedSetUnhashableGenerator
public ImmutableSortedSetUnhashableGenerator()
-
-
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<Set<UnhashableObject>>
-