public static class DerivedCollectionGenerators.MapSortedKeySetGenerator<K,V> extends DerivedCollectionGenerators.MapKeySetGenerator<K,V> implements TestSortedSetGenerator<K>, DerivedGenerator
| Modifier and Type | Field and Description |
|---|---|
private TestSortedMapGenerator<K,V> |
delegate |
| Constructor and Description |
|---|
MapSortedKeySetGenerator(OneSizeTestContainerGenerator<java.util.Map<K,V>,java.util.Map.Entry<K,V>> mapGenerator) |
| Modifier and Type | Method and Description |
|---|---|
K |
aboveSamplesGreater()
Returns an element greater than the
TestContainerGenerator.samples() and greater than TestSortedSetGenerator.aboveSamplesLesser(). |
K |
aboveSamplesLesser()
Returns an element greater than the
TestContainerGenerator.samples() but less than TestSortedSetGenerator.aboveSamplesGreater(). |
K |
belowSamplesGreater()
Returns an element less than the
TestContainerGenerator.samples() but greater than TestSortedSetGenerator.belowSamplesLesser(). |
K |
belowSamplesLesser()
Returns an element less than the
TestContainerGenerator.samples() and less than TestSortedSetGenerator.belowSamplesGreater(). |
java.util.SortedSet<K> |
create(java.lang.Object... elements)
Creates a new container containing the given elements.
|
createArray, getInnerGenerator, order, samplesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateArray, order, samplesgetInnerGeneratorprivate final TestSortedMapGenerator<K,V> delegate
public MapSortedKeySetGenerator(OneSizeTestContainerGenerator<java.util.Map<K,V>,java.util.Map.Entry<K,V>> mapGenerator)
public java.util.SortedSet<K> create(java.lang.Object... elements)
TestContainerGeneratorcreate in interface TestContainerGenerator<java.util.Collection<K>,K>create in interface TestSetGenerator<K>create in interface TestSortedSetGenerator<K>create in class DerivedCollectionGenerators.MapKeySetGenerator<K,V>public K belowSamplesLesser()
TestSortedSetGeneratorTestContainerGenerator.samples() and less than TestSortedSetGenerator.belowSamplesGreater().belowSamplesLesser in interface TestSortedSetGenerator<K>public K belowSamplesGreater()
TestSortedSetGeneratorTestContainerGenerator.samples() but greater than TestSortedSetGenerator.belowSamplesLesser().belowSamplesGreater in interface TestSortedSetGenerator<K>public K aboveSamplesLesser()
TestSortedSetGeneratorTestContainerGenerator.samples() but less than TestSortedSetGenerator.aboveSamplesGreater().aboveSamplesLesser in interface TestSortedSetGenerator<K>public K aboveSamplesGreater()
TestSortedSetGeneratorTestContainerGenerator.samples() and greater than TestSortedSetGenerator.aboveSamplesLesser().aboveSamplesGreater in interface TestSortedSetGenerator<K>