Class SmallSortedMap.Entry
java.lang.Object
com.google.protobuf.SmallSortedMap.Entry
- All Implemented Interfaces:
Comparable<SmallSortedMap<K,V>.Entry>, Map.Entry<K, V>
- Enclosing class:
SmallSortedMap<K extends Comparable<K>, V>
private class SmallSortedMap.Entry
extends Object
implements Map.Entry<K,V>, Comparable<SmallSortedMap<K,V>.Entry>
Entry implementation that implements Comparable in order to support binary search within the
entry array. Also checks mutability in
.
invalid reference
#setValue()
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
key
-
value
-
-
Constructor Details
-
Entry
-
Entry
-
-
Method Details
-
getKey
-
getValue
-
compareTo
- Specified by:
compareToin interfaceComparable<SmallSortedMap<K extends Comparable<K>, V>.Entry>
-
setValue
-
equals
-
hashCode
-
toString
-
equals
-