java.lang.Object
net.luis.utils.collection.util.SimpleEntry<K,V>
net.luis.utils.collection.util.MutableEntry<K,V>
- Type Parameters:
K
- The type of the keyV
- The type of the value
- All Implemented Interfaces:
Map.Entry<K,
V>
A mutable implementation of the
Map.Entry
interface.- See Also:
-
Field Summary
Fields inherited from class net.luis.utils.collection.util.SimpleEntry
value
-
Constructor Summary
ConstructorsConstructorDescriptionMutableEntry
(K key, V value) Constructs a new mutable entry with the specified key and value. -
Method Summary
Methods inherited from class net.luis.utils.collection.util.SimpleEntry
equals, getKey, getValue, hashCode
-
Constructor Details
-
MutableEntry
Constructs a new mutable entry with the specified key and value.- Parameters:
key
- The key of the entryvalue
- The value of the entry- Throws:
NullPointerException
- If the key is null
-
-
Method Details