Send feedback
Class ImmutableSortedMap<K,V> (3.0.21)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.0.21 keyboard_arrow_down
public abstract class ImmutableSortedMap<K , V > implements Iterable<Map . Entry<K , V >>
Inheritance
Object >
ImmutableSortedMap<K,V>
Type Parameters
Constructors
ImmutableSortedMap()
public ImmutableSortedMap ()
Methods
containsKey(K key)
public abstract boolean containsKey ( K key )
Parameter
Returns
equals(Object o)
public boolean equals ( Object o )
Parameter
Returns
Overrides
get(K key)
public abstract V get ( K key )
Parameter
Returns
getComparator()
public abstract Comparator<K> getComparator ()
Returns
getMaxKey()
public abstract K getMaxKey ()
Returns
getMinKey()
public abstract K getMinKey ()
Returns
getPredecessorKey(K key)
public abstract K getPredecessorKey ( K key )
Parameter
Returns
getSuccessorKey(K key)
public abstract K getSuccessorKey ( K key )
Parameter
Returns
hashCode()
Returns
Overrides
inOrderTraversal(LLRBNode.NodeVisitor<K,V> visitor)
public abstract void inOrderTraversal ( LLRBNode . NodeVisitor<K , V > visitor )
Parameter
indexOf(K key)
public abstract int indexOf ( K key )
Parameter
Returns
insert(K key, V value)
public abstract ImmutableSortedMap<K , V > insert ( K key , V value )
Parameters
Name Description key K
value V
Returns
isEmpty()
public abstract boolean isEmpty ()
Returns
iterator()
public abstract Iterator<Map . Entry<K , V >> iterator ()
Returns
iteratorFrom(K key)
public abstract Iterator<Map . Entry<K , V >> iteratorFrom ( K key )
Parameter
Returns
remove(K key)
public abstract ImmutableSortedMap<K , V > remove ( K key )
Parameter
Returns
reverseIterator()
public abstract Iterator<Map . Entry<K , V >> reverseIterator ()
Returns
reverseIteratorFrom(K key)
public abstract Iterator<Map . Entry<K , V >> reverseIteratorFrom ( K key )
Parameter
Returns
size()
public abstract int size ()
Returns
toString()
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]