Package com.google.common.collect
Class TreeRangeSet.RangesByUpperBound<C extends Comparable<?>>
java.lang.Object
java.util.AbstractMap<Cut<C>,Range<C>>
com.google.common.collect.Maps.IteratorBasedAbstractMap<Cut<C>,Range<C>>
com.google.common.collect.AbstractNavigableMap<Cut<C>,Range<C>>
com.google.common.collect.TreeRangeSet.RangesByUpperBound<C>
- All Implemented Interfaces:
Map<Cut<C>,,Range<C>> NavigableMap<Cut<C>,,Range<C>> SequencedMap<Cut<C>,,Range<C>> SortedMap<Cut<C>,Range<C>>
- Enclosing class:
TreeRangeSet<C extends Comparable<?>>
static final class TreeRangeSet.RangesByUpperBound<C extends Comparable<?>>
extends AbstractNavigableMap<Cut<C>,Range<C>>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NavigableMap<Cut<C>, Range<C>> upperBoundWindow represents the headMap/subMap/tailMap view of the entire "ranges by upper bound" map; it's a constraint on the *keys*, and does not affect the values. -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)RangesByUpperBound(NavigableMap<Cut<C>, Range<C>> rangesByLowerBound) privateRangesByUpperBound(NavigableMap<Cut<C>, Range<C>> rangesByLowerBound, Range<Cut<C>> upperBoundWindow) -
Method Summary
Modifier and TypeMethodDescriptionComparator<? super Cut<C>> booleancontainsKey(Object key) NavigableMap<Cut<C>, Range<C>> booleanisEmpty()intsize()NavigableMap<Cut<C>, Range<C>> private NavigableMap<Cut<C>, Range<C>> NavigableMap<Cut<C>, Range<C>> Methods inherited from class com.google.common.collect.AbstractNavigableMap
ceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, firstKey, floorEntry, floorKey, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, tailMapMethods inherited from class com.google.common.collect.Maps.IteratorBasedAbstractMap
clear, entrySet, entrySpliterator, forEachEntryMethods inherited from class java.util.AbstractMap
clone, containsValue, equals, hashCode, put, putAll, remove, toString, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsValue, equals, forEach, getOrDefault, hashCode, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAllMethods inherited from interface java.util.NavigableMap
reversedMethods inherited from interface java.util.SequencedMap
sequencedEntrySet, sequencedKeySet, sequencedValues
-
Field Details
-
rangesByLowerBound
private final NavigableMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>> rangesByLowerBound -
upperBoundWindow
upperBoundWindow represents the headMap/subMap/tailMap view of the entire "ranges by upper bound" map; it's a constraint on the *keys*, and does not affect the values.
-
-
Constructor Details
-
Method Details
-
subMap
-
subMap
-
headMap
-
tailMap
-
comparator
-
containsKey
- Specified by:
containsKeyin interfaceMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>> - Overrides:
containsKeyin classAbstractMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>>
-
get
- Specified by:
getin interfaceMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>> - Specified by:
getin classAbstractNavigableMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>>
-
entryIterator
- Specified by:
entryIteratorin classMaps.IteratorBasedAbstractMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>>
-
descendingEntryIterator
- Specified by:
descendingEntryIteratorin classAbstractNavigableMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>>
-
size
public int size()- Specified by:
sizein interfaceMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>> - Specified by:
sizein classMaps.IteratorBasedAbstractMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>> - Overrides:
isEmptyin classAbstractMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>>
-