Package org.teavm.classlib.java.util
Class TTreeMap<K,V>
java.lang.Object
org.teavm.classlib.java.lang.TObject
org.teavm.classlib.java.util.TAbstractMap<K,V>
org.teavm.classlib.java.util.TTreeMap<K,V>
- All Implemented Interfaces:
TSerializable,TCloneable,TMap<K,,V> TNavigableMap<K,,V> TSequencedMap<K,,V> TSortedMap<K,V>
public class TTreeMap<K,V>
extends TAbstractMap<K,V>
implements TCloneable, TSerializable, TNavigableMap<K,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.teavm.classlib.java.util.TAbstractMap
TAbstractMap.SimpleEntry<K,V>, TAbstractMap.SimpleImmutableEntry<K, V> Nested classes/interfaces inherited from interface org.teavm.classlib.java.util.TMap
TMap.Entry<K1,V1> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTMap.Entry<K, V> ceilingEntry(K key) ceilingKey(K key) voidclear()clone()TComparator<? super K> booleancontainsKey(Object key) TSet<TMap.Entry<K, V>> entrySet()TMap.Entry<K, V> firstKey()TMap.Entry<K, V> floorEntry(K key) TMap.Entry<K, V> higherEntry(K key) booleanisEmpty()TMap.Entry<K, V> lastKey()TMap.Entry<K, V> lowerEntry(K key) TMap.Entry<K, V> TMap.Entry<K, V> intsize()TSortedMap<K, V> values()Methods inherited from class org.teavm.classlib.java.util.TAbstractMap
containsValue, equals, hashCode, keySet, putAll, toStringMethods inherited from class org.teavm.classlib.java.lang.TObject
equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImplMethods inherited from interface org.teavm.classlib.java.util.TMap
compute, computeIfAbsent, computeIfPresent, containsValue, forEach, getOrDefault, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface org.teavm.classlib.java.util.TNavigableMap
reversed, sequencedKeySetMethods inherited from interface org.teavm.classlib.java.util.TSequencedMap
putFirst, putLast
-
Constructor Details
-
TTreeMap
public TTreeMap() -
TTreeMap
-
TTreeMap
-
TTreeMap
-
-
Method Details
-
get
-
put
-
remove
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceTMap<K,V> - Overrides:
containsKeyin classTAbstractMap<K,V>
-
entrySet
-
comparator
- Specified by:
comparatorin interfaceTSortedMap<K,V>
-
subMap
- Specified by:
subMapin interfaceTSortedMap<K,V>
-
headMap
- Specified by:
headMapin interfaceTSortedMap<K,V>
-
tailMap
- Specified by:
tailMapin interfaceTSortedMap<K,V>
-
firstKey
- Specified by:
firstKeyin interfaceTSortedMap<K,V>
-
lastKey
- Specified by:
lastKeyin interfaceTSortedMap<K,V>
-
lowerEntry
- Specified by:
lowerEntryin interfaceTNavigableMap<K,V>
-
lowerKey
- Specified by:
lowerKeyin interfaceTNavigableMap<K,V>
-
floorEntry
- Specified by:
floorEntryin interfaceTNavigableMap<K,V>
-
floorKey
- Specified by:
floorKeyin interfaceTNavigableMap<K,V>
-
ceilingEntry
- Specified by:
ceilingEntryin interfaceTNavigableMap<K,V>
-
ceilingKey
- Specified by:
ceilingKeyin interfaceTNavigableMap<K,V>
-
higherEntry
- Specified by:
higherEntryin interfaceTNavigableMap<K,V>
-
higherKey
- Specified by:
higherKeyin interfaceTNavigableMap<K,V>
-
firstEntry
- Specified by:
firstEntryin interfaceTNavigableMap<K,V> - Specified by:
firstEntryin interfaceTSequencedMap<K,V>
-
lastEntry
- Specified by:
lastEntryin interfaceTNavigableMap<K,V> - Specified by:
lastEntryin interfaceTSequencedMap<K,V>
-
pollFirstEntry
- Specified by:
pollFirstEntryin interfaceTNavigableMap<K,V> - Specified by:
pollFirstEntryin interfaceTSequencedMap<K,V>
-
pollLastEntry
- Specified by:
pollLastEntryin interfaceTNavigableMap<K,V> - Specified by:
pollLastEntryin interfaceTSequencedMap<K,V>
-
values
-
sequencedValues
- Specified by:
sequencedValuesin interfaceTSequencedMap<K,V>
-
sequencedEntrySet
- Specified by:
sequencedEntrySetin interfaceTSequencedMap<K,V>
-
descendingMap
- Specified by:
descendingMapin interfaceTNavigableMap<K,V>
-
descendingKeySet
- Specified by:
descendingKeySetin interfaceTNavigableMap<K,V>
-
subMap
- Specified by:
subMapin interfaceTNavigableMap<K,V>
-
headMap
- Specified by:
headMapin interfaceTNavigableMap<K,V>
-
tailMap
- Specified by:
tailMapin interfaceTNavigableMap<K,V>
-
size
public int size() -
clone
- Overrides:
clonein classTAbstractMap<K,V>
-