Class NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator<E>
java.lang.Object
com.google.common.collect.testing.DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator<E>
com.google.common.collect.testing.NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator<E>
- All Implemented Interfaces:
TestCollectionGenerator<E>, TestContainerGenerator<Collection<E>, E>, TestSetGenerator<E>, TestSortedSetGenerator<E>
- Enclosing class:
NavigableSetTestSuiteBuilder<E>
public static final class NavigableSetTestSuiteBuilder.NavigableSetSubsetTestSetGenerator<E>
extends DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator<E>
-
Constructor Summary
ConstructorsConstructorDescriptionNavigableSetSubsetTestSetGenerator(TestSortedSetGenerator<E> delegate, DerivedCollectionGenerators.Bound to, DerivedCollectionGenerators.Bound from) -
Method Summary
Methods inherited from class DerivedCollectionGenerators.SortedSetSubsetTestSetGenerator
aboveSamplesGreater, aboveSamplesLesser, belowSamplesGreater, belowSamplesLesser, create, createArray, getFrom, getInnerGenerator, getTo, order, samplesModifier and TypeMethodDescriptionReturns an element greater than theTestContainerGenerator.samples()and greater thanTestSortedSetGenerator.aboveSamplesLesser().Returns an element greater than theTestContainerGenerator.samples()but less thanTestSortedSetGenerator.aboveSamplesGreater().Returns an element less than theTestContainerGenerator.samples()but greater thanTestSortedSetGenerator.belowSamplesLesser().Returns an element less than theTestContainerGenerator.samples()and less thanTestSortedSetGenerator.belowSamplesGreater().Creates a new container containing the given elements.E[]createArray(int length) Helper method to create an array of the appropriate type used by this generator.getFrom()final TestSortedSetGenerator<E> getTo()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
-
NavigableSetSubsetTestSetGenerator
public NavigableSetSubsetTestSetGenerator(TestSortedSetGenerator<E> delegate, DerivedCollectionGenerators.Bound to, DerivedCollectionGenerators.Bound from)
-