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) void
clear()
clone()
TComparator<? super K>
boolean
containsKey
(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) boolean
isEmpty()
TMap.Entry<K,
V> lastKey()
TMap.Entry<K,
V> lowerEntry
(K key) TMap.Entry<K,
V> TMap.Entry<K,
V> int
size()
TSortedMap<K,
V> values()
Methods inherited from class org.teavm.classlib.java.util.TAbstractMap
containsValue, equals, hashCode, keySet, putAll, toString
Methods inherited from class org.teavm.classlib.java.lang.TObject
equals0, finalize, getClass0, notify0, notifyAll0, wait0, wait0, waitImpl
Methods inherited from interface org.teavm.classlib.java.util.TMap
compute, computeIfAbsent, computeIfPresent, containsValue, forEach, getOrDefault, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll
Methods inherited from interface org.teavm.classlib.java.util.TNavigableMap
reversed, sequencedKeySet
Methods 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:
containsKey
in interfaceTMap<K,
V> - Overrides:
containsKey
in classTAbstractMap<K,
V>
-
entrySet
-
comparator
- Specified by:
comparator
in interfaceTSortedMap<K,
V>
-
subMap
- Specified by:
subMap
in interfaceTSortedMap<K,
V>
-
headMap
- Specified by:
headMap
in interfaceTSortedMap<K,
V>
-
tailMap
- Specified by:
tailMap
in interfaceTSortedMap<K,
V>
-
firstKey
- Specified by:
firstKey
in interfaceTSortedMap<K,
V>
-
lastKey
- Specified by:
lastKey
in interfaceTSortedMap<K,
V>
-
lowerEntry
- Specified by:
lowerEntry
in interfaceTNavigableMap<K,
V>
-
lowerKey
- Specified by:
lowerKey
in interfaceTNavigableMap<K,
V>
-
floorEntry
- Specified by:
floorEntry
in interfaceTNavigableMap<K,
V>
-
floorKey
- Specified by:
floorKey
in interfaceTNavigableMap<K,
V>
-
ceilingEntry
- Specified by:
ceilingEntry
in interfaceTNavigableMap<K,
V>
-
ceilingKey
- Specified by:
ceilingKey
in interfaceTNavigableMap<K,
V>
-
higherEntry
- Specified by:
higherEntry
in interfaceTNavigableMap<K,
V>
-
higherKey
- Specified by:
higherKey
in interfaceTNavigableMap<K,
V>
-
firstEntry
- Specified by:
firstEntry
in interfaceTNavigableMap<K,
V> - Specified by:
firstEntry
in interfaceTSequencedMap<K,
V>
-
lastEntry
- Specified by:
lastEntry
in interfaceTNavigableMap<K,
V> - Specified by:
lastEntry
in interfaceTSequencedMap<K,
V>
-
pollFirstEntry
- Specified by:
pollFirstEntry
in interfaceTNavigableMap<K,
V> - Specified by:
pollFirstEntry
in interfaceTSequencedMap<K,
V>
-
pollLastEntry
- Specified by:
pollLastEntry
in interfaceTNavigableMap<K,
V> - Specified by:
pollLastEntry
in interfaceTSequencedMap<K,
V>
-
values
-
sequencedValues
- Specified by:
sequencedValues
in interfaceTSequencedMap<K,
V>
-
sequencedEntrySet
- Specified by:
sequencedEntrySet
in interfaceTSequencedMap<K,
V>
-
descendingMap
- Specified by:
descendingMap
in interfaceTNavigableMap<K,
V>
-
descendingKeySet
- Specified by:
descendingKeySet
in interfaceTNavigableMap<K,
V>
-
subMap
- Specified by:
subMap
in interfaceTNavigableMap<K,
V>
-
headMap
- Specified by:
headMap
in interfaceTNavigableMap<K,
V>
-
tailMap
- Specified by:
tailMap
in interfaceTNavigableMap<K,
V>
-
size
public int size() -
clone
- Overrides:
clone
in classTAbstractMap<K,
V>
-