Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class ImmutableSortedMap<K,V> (3.1.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 3.1.0keyboard_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
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 2025-07-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[],[]]