NavigableSubMap

@serial include

abstract static
class NavigableSubMap : AbstractMap!(K, V), NavigableMap!(K, V)(
K
V
) {}

Constructors

this
this(TreeMap!(K, V) m, bool fromStart, K lo, bool loInclusive, bool toEnd, K hi, bool hiInclusive)
Undocumented in source.

Members

Aliases

headMap
alias headMap = NavigableMap!(K, V).headMap
Undocumented in source.
subMap
alias subMap = NavigableMap!(K, V).subMap
Undocumented in source.
tailMap
alias tailMap = NavigableMap!(K, V).tailMap
Undocumented in source.

Classes

DescendingSubMapEntryIterator
class DescendingSubMapEntryIterator
Undocumented in source.
DescendingSubMapKeyIterator
class DescendingSubMapKeyIterator
Undocumented in source.
KeyInputRange
class KeyInputRange
Undocumented in source.
SubMapEntryIterator
class SubMapEntryIterator
Undocumented in source.
SubMapIterator
class SubMapIterator(T)
Undocumented in source.
SubMapKeyIterator
class SubMapKeyIterator
Undocumented in source.
ValueInputRange
class ValueInputRange
Undocumented in source.

Functions

absCeiling
TreeMapEntry!(K, V) absCeiling(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
absFloor
TreeMapEntry!(K, V) absFloor(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
absHighFence
TreeMapEntry!(K, V) absHighFence()

Returns the absolute high fence for ascending traversal

absHigher
TreeMapEntry!(K, V) absHigher(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
absHighest
TreeMapEntry!(K, V) absHighest()
Undocumented in source. Be warned that the author may not have intended to support it.
absLowFence
TreeMapEntry!(K, V) absLowFence()

Return the absolute low fence for descending traversal

absLower
TreeMapEntry!(K, V) absLower(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
absLowest
TreeMapEntry!(K, V) absLowest()
Undocumented in source. Be warned that the author may not have intended to support it.
ceilingEntry
MapEntry!(K, V) ceilingEntry(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
ceilingKey
K ceilingKey(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
clone
Object clone()
Undocumented in source. Be warned that the author may not have intended to support it.
containsKey
bool containsKey(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
firstEntry
MapEntry!(K, V) firstEntry()
Undocumented in source. Be warned that the author may not have intended to support it.
firstKey
K firstKey()
Undocumented in source. Be warned that the author may not have intended to support it.
floorEntry
MapEntry!(K, V) floorEntry(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
floorKey
K floorKey(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
get
V get(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
headMap
SortedMap!(K, V) headMap(K toKey)
Undocumented in source. Be warned that the author may not have intended to support it.
higherEntry
MapEntry!(K, V) higherEntry(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
higherKey
K higherKey(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
inClosedRange
bool inClosedRange(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
inRange
bool inRange(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
inRange
bool inRange(K key, bool inclusive)
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
lastEntry
MapEntry!(K, V) lastEntry()
Undocumented in source. Be warned that the author may not have intended to support it.
lastKey
K lastKey()
Undocumented in source. Be warned that the author may not have intended to support it.
lowerEntry
MapEntry!(K, V) lowerEntry(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
lowerKey
K lowerKey(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(IObject o)

Returns descending iterator from the perspective of this submap

opEquals
bool opEquals(Object o)
Undocumented in source. Be warned that the author may not have intended to support it.
pollFirstEntry
MapEntry!(K, V) pollFirstEntry()
Undocumented in source. Be warned that the author may not have intended to support it.
pollLastEntry
MapEntry!(K, V) pollLastEntry()
Undocumented in source. Be warned that the author may not have intended to support it.
put
V put(K key, V value)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
V remove(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size()
Undocumented in source. Be warned that the author may not have intended to support it.
subCeiling
TreeMapEntry!(K, V) subCeiling(K key)
Undocumented in source.
subFloor
TreeMapEntry!(K, V) subFloor(K key)
Undocumented in source.
subHigher
TreeMapEntry!(K, V) subHigher(K key)
Undocumented in source.
subHighest
TreeMapEntry!(K, V) subHighest()
Undocumented in source.
subLower
TreeMapEntry!(K, V) subLower(K key)
Undocumented in source.
subLowest
TreeMapEntry!(K, V) subLowest()
Undocumented in source.
subMap
SortedMap!(K, V) subMap(K fromKey, K toKey)
Undocumented in source. Be warned that the author may not have intended to support it.
tailMap
SortedMap!(K, V) tailMap(K fromKey)
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
tooHigh
bool tooHigh(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
tooLow
bool tooLow(K key)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

SubMapInputRange
mixintemplate SubMapInputRange()

Iterators for SubMaps

Variables

fromStart
bool fromStart;
Undocumented in source.
hi
K hi;

Endpoints are represented as triples (fromStart, lo, loInclusive) and (toEnd, hi, hiInclusive). If fromStart is true, then the low (absolute) bound is the start of the backing map, and the other values are ignored. Otherwise, if loInclusive is true, lo is the inclusive bound, else lo is the exclusive bound. Similarly for the upper bound.

hiInclusive
bool hiInclusive;
Undocumented in source.
lo
K lo;

Endpoints are represented as triples (fromStart, lo, loInclusive) and (toEnd, hi, hiInclusive). If fromStart is true, then the low (absolute) bound is the start of the backing map, and the other values are ignored. Otherwise, if loInclusive is true, lo is the inclusive bound, else lo is the exclusive bound. Similarly for the upper bound.

loInclusive
bool loInclusive;
Undocumented in source.
m
TreeMap!(K, V) m;

The backing map.

sizeModCount
int sizeModCount;
toEnd
bool toEnd;
Undocumented in source.

Meta