@Immutable public static final class LObjSrtPair.ImmCompObjSrtPair<T extends Comparable<T>> extends LObjSrtPair.AbstractObjSrtPair<T> implements LObjSrtPair.ComparableObjSrtPair<T>
Immutable, comparable tuple.
LObjSrtPair.AbstractObjSrtPair<T>, LObjSrtPair.ComparableObjSrtPair<T extends Comparable<T>>, LObjSrtPair.ImmCompObjSrtPair<T extends Comparable<T>>, LObjSrtPair.ImmObjSrtPair<T>, LObjSrtPair.MutCompObjSrtPair<T extends Comparable<T>>, LObjSrtPair.MutObjSrtPair<T>LSingle.AbstractSingle<T>, LSingle.ComparableSingle<T extends Comparable<T>>, LSingle.ImmCompSingle<T extends Comparable<T>>, LSingle.ImmSingle<T>, LSingle.MutCompSingle<T extends Comparable<T>>, LSingle.MutSingle<T>LTuple.VoidSIZE| Constructor and Description |
|---|
ImmCompObjSrtPair(T a1,
short a2) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Comparable<T>> |
copyOf(LObjSrtPair<T> tuple) |
T |
first() |
static <T extends Comparable<T>> |
of(T a1,
short a2) |
short |
second() |
equals, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareToargEquals, argEquals, argHashCode, get, iterator, size, valueargHashCodepublic ImmCompObjSrtPair(T a1, short a2)
public static <T extends Comparable<T>> LObjSrtPair.ImmCompObjSrtPair<T> of(T a1, short a2)
public static <T extends Comparable<T>> LObjSrtPair.ImmCompObjSrtPair<T> copyOf(LObjSrtPair<T> tuple)
public T first()
first in interface LObjSrtPair<T extends Comparable<T>>first in interface LSingle<T extends Comparable<T>>public short second()
second in interface LObjSrtPair<T extends Comparable<T>>Copyright © 2019. All rights reserved.