Class NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator<K,V>
- java.lang.Object
-
- com.google.common.collect.testing.DerivedCollectionGenerators.ForwardingTestMapGenerator<K,V>
-
- com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator<K,V>
-
- com.google.common.collect.testing.NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator<K,V>
-
- All Implemented Interfaces:
TestContainerGenerator<java.util.Map<K,V>,java.util.Map.Entry<K,V>>
,TestMapGenerator<K,V>
,TestSortedMapGenerator<K,V>
- Enclosing class:
- NavigableMapTestSuiteBuilder<K,V>
public static final class NavigableMapTestSuiteBuilder.NavigableMapSubmapTestMapGenerator<K,V> extends DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator<K,V>
-
-
Field Summary
-
Fields inherited from class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
firstInclusive, from, lastInclusive, to
-
Fields inherited from class com.google.common.collect.testing.DerivedCollectionGenerators.ForwardingTestMapGenerator
delegate
-
-
Constructor Summary
Constructors Constructor Description NavigableMapSubmapTestMapGenerator(TestSortedMapGenerator<K,V> delegate, DerivedCollectionGenerators.Bound to, DerivedCollectionGenerators.Bound from)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.util.NavigableMap<K,V>
createSubMap(java.util.SortedMap<K,V> sortedMap, K firstExclusive, K lastExclusive)
Calls the smallest subMap overload that filters out the extreme values.-
Methods inherited from class com.google.common.collect.testing.DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
aboveSamplesGreater, aboveSamplesLesser, belowSamplesGreater, belowSamplesLesser, create, getFrom, getInnerGenerator, getTo
-
Methods inherited from class com.google.common.collect.testing.DerivedCollectionGenerators.ForwardingTestMapGenerator
createArray, createKeyArray, createValueArray, order, samples
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.common.collect.testing.TestContainerGenerator
createArray, order, samples
-
Methods inherited from interface com.google.common.collect.testing.TestMapGenerator
createKeyArray, createValueArray
-
-
-
-
Constructor Detail
-
NavigableMapSubmapTestMapGenerator
public NavigableMapSubmapTestMapGenerator(TestSortedMapGenerator<K,V> delegate, DerivedCollectionGenerators.Bound to, DerivedCollectionGenerators.Bound from)
-
-
Method Detail
-
createSubMap
java.util.NavigableMap<K,V> createSubMap(java.util.SortedMap<K,V> sortedMap, K firstExclusive, K lastExclusive)
Description copied from class:DerivedCollectionGenerators.SortedMapSubmapTestMapGenerator
Calls the smallest subMap overload that filters out the extreme values. This method is overridden in NavigableMapTestSuiteBuilder.- Overrides:
createSubMap
in classDerivedCollectionGenerators.SortedMapSubmapTestMapGenerator<K,V>
-
-