Class AbstractImmutableEntry<K,V>
java.lang.Object
org.eclipse.collections.impl.tuple.AbstractImmutableEntry<K,V>
- All Implemented Interfaces:
Serializable
,Map.Entry<K,
V>
- Direct Known Subclasses:
ImmutableEntry
,ImmutableEntryWithHashingStrategy
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
Deprecated.Since 6.2 - Kept for serialization compatibility only.private static class
private static class
Deprecated.Since 6.2 - Kept for serialization compatibility only. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final K
private static final long
private static final AbstractImmutableEntry.PairFunction
<?, ?> protected final V
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Deprecated.Since 6.2 - UseFunctions.getKeyFunction()
instead.getValue()
Deprecated.Since 6.2 - UseFunctions.getValueFunction()
instead.toString()
Returns a string representation of the form{key}={value}
.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
TO_PAIR
-
key
-
value
-
-
Constructor Details
-
AbstractImmutableEntry
-
-
Method Details
-
getKeyFunction
Deprecated.Since 6.2 - UseFunctions.getKeyFunction()
instead. -
getValueFunction
Deprecated.Since 6.2 - UseFunctions.getValueFunction()
instead. -
getPairFunction
-
getKey
-
getValue
-
setValue
This implementation throws an
UnsupportedOperationException
. Override this method to support mutable map entries. -
toString
Returns a string representation of the form{key}={value}
.
-