Package it.unimi.dsi.fastutil.longs
Interface LongLongSortedPair
-
- All Superinterfaces:
LongLongPair,Pair<java.lang.Long,java.lang.Long>,java.io.Serializable,SortedPair<java.lang.Long>
- All Known Implementing Classes:
LongLongImmutableSortedPair
public interface LongLongSortedPair extends LongLongPair, SortedPair<java.lang.Long>, java.io.Serializable
A type-specific immutableSortedPair.
-
-
Method Summary
Static Methods Modifier and Type Method Description static LongLongSortedPairof(long left, long right)Returns a new type-specific immutableSortedPairwith given left and right value.
-
-
-
Method Detail
-
of
static LongLongSortedPair of(long left, long right)
Returns a new type-specific immutableSortedPairwith given left and right value.Note that if
leftandrightare in the wrong order, they will be exchanged.- Parameters:
left- the left value.right- the right value.- Implementation Notes:
- This factory method delegates to the factory method of the corresponding immutable implementation.
-
-