Package com.google.common.collect
Class TreeRangeSet.SubRangeSetRangesByLowerBound<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.SubRangeSetRangesByLowerBound<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<?>>
private static final class TreeRangeSet.SubRangeSetRangesByLowerBound<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 TypeFieldDescriptionlowerBoundWindow is the headMap/subMap/tailMap view; it only restricts the keys, and does not affect the values.private final NavigableMap<Cut<C>, Range<C>> private final NavigableMap<Cut<C>, Range<C>> restriction is the subRangeSet view; ranges are truncated to their intersection with restriction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionComparator<? super Cut<C>> booleancontainsKey(Object key) NavigableMap<Cut<C>, Range<C>> 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, isEmpty, 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, isEmpty, 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
-
lowerBoundWindow
lowerBoundWindow is the headMap/subMap/tailMap view; it only restricts the keys, and does not affect the values. -
restriction
restriction is the subRangeSet view; ranges are truncated to their intersection with restriction. -
rangesByLowerBound
private final NavigableMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>> rangesByLowerBound -
rangesByUpperBound
private final NavigableMap<Cut<C extends Comparable<?>>,Range<C extends Comparable<?>>> rangesByUpperBound
-
-
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<?>>>
-