public interface LObjIntObjTriple<T1,T2> extends LTuple<Object>, LObjIntPair<T1>
Exact equivalent of input parameters used in LTieConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LObjIntObjTriple.AbstractObjIntObjTriple<T1,T2> |
static interface |
LObjIntObjTriple.ComparableObjIntObjTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>> |
static class |
LObjIntObjTriple.ImmCompObjIntObjTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>
Immutable, comparable tuple.
|
static class |
LObjIntObjTriple.ImmObjIntObjTriple<T1,T2>
Immutable, non-comparable tuple.
|
static class |
LObjIntObjTriple.MutCompObjIntObjTriple<T1 extends Comparable<T1>,T2 extends Comparable<T2>>
Mutable, comparable tuple.
|
static class |
LObjIntObjTriple.MutObjIntObjTriple<T1,T2>
Mutable, non-comparable tuple.
|
LObjIntPair.AbstractObjIntPair<T>, LObjIntPair.ComparableObjIntPair<T extends Comparable<T>>, LObjIntPair.ImmCompObjIntPair<T extends Comparable<T>>, LObjIntPair.ImmObjIntPair<T>, LObjIntPair.MutCompObjIntPair<T extends Comparable<T>>, LObjIntPair.MutObjIntPair<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.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(LObjIntObjTriple the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static <T1,T2> boolean |
argEquals(T1 a1,
int a2,
T2 a3,
T1 b1,
int b2,
T2 b3)
Static equals() implementation that takes same arguments (doubled) as fields of the LObjIntObjTriple and checks if all values are equal.
|
static <T1,T2> int |
argHashCode(T1 a1,
int a2,
T2 a3)
Static hashCode() implementation method that takes same arguments as fields of the LObjIntObjTriple and calculates hash from it.
|
T1 |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
T2 |
third() |
default T1 |
value() |
argEquals, argEquals, argHashCodeargHashCodestatic final int SIZE
T1 first()
default T1 value()
int second()
second in interface LObjIntPair<T1>T2 third()
default Object get(int index)
default int size()
Tuple size
static <T1,T2> int argHashCode(T1 a1,
int a2,
T2 a3)
Static hashCode() implementation method that takes same arguments as fields of the LObjIntObjTriple and calculates hash from it.
static <T1,T2> boolean argEquals(T1 a1,
int a2,
T2 a3,
T1 b1,
int b2,
T2 b3)
Static equals() implementation that takes same arguments (doubled) as fields of the LObjIntObjTriple and checks if all values are equal.
static boolean argEquals(LObjIntObjTriple the, Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
Tuples are considered equal if are implementing same interface and their tuple values are equal regardless of the implementing class.
Copyright © 2019. All rights reserved.