Package it.unimi.dsi.fastutil.ints
Interface IntIntSortedPair
-
- All Superinterfaces:
IntIntPair
,Pair<java.lang.Integer,java.lang.Integer>
,java.io.Serializable
,SortedPair<java.lang.Integer>
- All Known Implementing Classes:
IntIntImmutableSortedPair
public interface IntIntSortedPair extends IntIntPair, SortedPair<java.lang.Integer>, java.io.Serializable
A type-specific immutableSortedPair
.
-
-
Method Summary
Static Methods Modifier and Type Method Description static IntIntSortedPair
of(int left, int right)
Returns a new type-specific immutableSortedPair
with given left and right value.
-
-
-
Method Detail
-
of
static IntIntSortedPair of(int left, int right)
Returns a new type-specific immutableSortedPair
with given left and right value.Note that if
left
andright
are 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.
-
-