Class ReadOnlyPair<K,V>
java.lang.Object
lu.kbra.pclib.datastructure.tuple.Pair<K,V>
lu.kbra.pclib.datastructure.tuple.ReadOnlyPair<K,V>
- All Implemented Interfaces:
Cloneable,DeepCloneable,Tuple
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()<T,N> Pair<T, N> map(BiFunction<K, V, T> funcKey, BiFunction<K, V, N> funcValue) mapKey(BiFunction<K, V, T> func) mapValue(BiFunction<K, V, T> func) Deprecated.Deprecated.toString()Methods inherited from class lu.kbra.pclib.datastructure.tuple.Pair
asArray, elementCount, equals, get, getKey, getValue, hashCode, hasKey, hasValue, mapMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface lu.kbra.pclib.datastructure.DeepCloneable
deepClone
-
Constructor Details
-
ReadOnlyPair
public ReadOnlyPair() -
ReadOnlyPair
-
-
Method Details
-
clone
-
map
-
mapKey
-
mapValue
-
setKey
Deprecated. -
setValue
Deprecated. -
toString
-