public static class FunctionUtils.UnmodifiableSortedMap<K,V> extends Object implements UnmodSortedMap<K,V>, Serializable
FunctionUtils.unmodSortedMap(SortedMap).UnmodMap.AbstractUnmodMap<K,V>, UnmodMap.UnEntry<K,V>UnmodIterable.AbstractUnmodIterable<T>| Modifier and Type | Method and Description |
|---|---|
Comparator<? super K> |
comparator() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value)
Most maps are not designed for this - the default implementation has O(n) performance.
|
boolean |
equals(Object o) |
K |
firstKey() |
V |
get(Object key) |
int |
hashCode() |
boolean |
isEmpty() |
UnmodSortedIterator<UnmodMap.UnEntry<K,V>> |
iterator()
A one-time use, mutable, not-thread-safe way to get each value of the underling collection in
turn.
|
K |
lastKey() |
int |
size()
Returns the number of items in this iterable.
|
UnmodSortedMap<K,V> |
subMap(K fromKey,
K toKey) |
UnmodSortedMap<K,V> |
tailMap(K fromKey) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitentrySet, headMap, keySet, valuesclear, compute, computeIfAbsent, computeIfPresent, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAllforEach, getOrDefaultcastFromList, castFromSortedMap, castFromSortedSet, equal, equalsconcat, drop, filter, flatMap, foldLeft, foldLeft, hash, hashCode, head, map, precat, take, takeWhile, toStringforEach, spliteratortoImList, toImMap, toImSet, toImSortedMap, toImSortedSet, toMutableList, toMutableMap, toMutableSet, toMutableSortedMap, toMutableSortedSetpublic int size()
Sizedpublic boolean isEmpty()
UnmodMappublic boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
UnmodMapcontainsValue in interface Map<K,V>containsValue in interface UnmodMap<K,V>public Comparator<? super K> comparator()
comparator in interface SortedMap<K,V>public UnmodSortedMap<K,V> subMap(K fromKey, K toKey)
UnmodSortedMappublic UnmodSortedMap<K,V> tailMap(K fromKey)
UnmodSortedMappublic UnmodSortedIterator<UnmodMap.UnEntry<K,V>> iterator()
UnmodIterableiterator in interface Iterable<UnmodMap.UnEntry<K,V>>iterator in interface UnmodIterable<UnmodMap.UnEntry<K,V>>iterator in interface UnmodSortedIterable<UnmodMap.UnEntry<K,V>>public int hashCode()
public boolean equals(Object o)
Copyright © 2017. All rights reserved.