Class TestIntegerSortedSetGenerator
java.lang.Object
com.google.common.collect.testing.TestIntegerSetGenerator
com.google.common.collect.testing.TestIntegerSortedSetGenerator
- All Implemented Interfaces:
TestCollectionGenerator<Integer>
,TestContainerGenerator<Collection<Integer>,
,Integer> TestSetGenerator<Integer>
- Direct Known Subclasses:
SetGenerators.ContiguousSetDescendingGenerator
,SetGenerators.ContiguousSetGenerator
,SetGenerators.ContiguousSetHeadsetGenerator
,SetGenerators.ContiguousSetSubsetGenerator
,SetGenerators.ContiguousSetTailsetGenerator
@GwtCompatible
@NullMarked
public abstract class TestIntegerSortedSetGenerator
extends TestIntegerSetGenerator
Create integer sets for testing collections that are sorted by natural ordering.
- Author:
- Chris Povirk, Jared Levy
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.common.collect.testing.TestIntegerSetGenerator
create, createArray, samples
-
Constructor Details
-
TestIntegerSortedSetGenerator
public TestIntegerSortedSetGenerator()
-
-
Method Details
-
create
- Specified by:
create
in classTestIntegerSetGenerator
-
order
Sorts the elements by their natural ordering.- Specified by:
order
in interfaceTestContainerGenerator<Collection<Integer>,
Integer> - Overrides:
order
in classTestIntegerSetGenerator
-