public interface ShortShortSortedPair extends ShortShortPair, it.unimi.dsi.fastutil.SortedPair<java.lang.Short>, java.io.Serializable
SortedPair.| Modifier and Type | Method and Description |
|---|---|
default boolean |
contains(java.lang.Object o)
Deprecated.
Please use the corresponding type-specific method instead.
|
default boolean |
contains(short e)
Returns true if one of the two elements of this sorted pair is equal to a given element.
|
static ShortShortSortedPair |
of(short left,
short right)
Returns a new type-specific immutable
SortedPair with given left and right value. |
first, first, first, firstShort, key, key, key, keyShort, left, left, left, leftShort, lexComparator, right, right, right, rightShort, second, second, second, secondShort, value, value, value, valueShortstatic ShortShortSortedPair of(short left, short right)
SortedPair with given left and right value.
Note that if left and right are in the wrong order, they will be exchanged.
of in interface it.unimi.dsi.fastutil.Pair<java.lang.Short,java.lang.Short>of in interface ShortShortPairof in interface it.unimi.dsi.fastutil.SortedPair<java.lang.Short>left - the left value.right - the right value.default boolean contains(short e)
e - an element.e.SortedPair.contains(Object)@Deprecated default boolean contains(java.lang.Object o)
contains in interface it.unimi.dsi.fastutil.SortedPair<java.lang.Short>