public interface ObjectReferencePair<K,V>
extends it.unimi.dsi.fastutil.Pair<K,V>
Pair; provides some additional methods that use polymorphism to avoid (un)boxing.| Modifier and Type | Method and Description |
|---|---|
static <K,V> ObjectReferencePair<K,V> |
of(K left,
V right)
Returns a new type-specific immutable
Pair with given left and right value. |
static <K,V> ObjectReferencePair<K,V> of(K left, V right)
Pair with given left and right value.