public static class RestrictedCollections.RestrictedSortedMap extends RestrictedCollections.RestrictedMap implements SortedMap, Serializable
Base.LoggingWriter, Base.StackFrame
m_clzKey, m_clzVal, m_map, m_set
Constructor and Description |
---|
RestrictedSortedMap(Map map,
Class clzKey,
Class clzVal)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Comparator |
comparator()
Returns the comparator associated with this sorted map, or
null if it uses its keys' natural ordering.
|
Object |
firstKey()
Returns the first (lowest) key currently in this sorted map.
|
SortedMap |
headMap(Object toKey)
Returns a view of the portion of this sorted map whose keys are
strictly less than toKey.
|
Object |
lastKey()
Returns the last (highest) key currently in this sorted map.
|
SortedMap |
subMap(Object fromKey,
Object toKey)
Returns a view of the portion of this sorted map whose keys range
from fromKey, inclusive, to toKey, exclusive.
|
SortedMap |
tailMap(Object fromKey)
Returns a view of the portion of this sorted map whose keys are
greater than or equal to fromKey.
|
checkKey, checkValue, clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size
public Comparator comparator()
comparator
in interface SortedMap
public SortedMap subMap(Object fromKey, Object toKey)
public SortedMap headMap(Object toKey)
public SortedMap tailMap(Object fromKey)
public Object firstKey()