public interface LObjBiIntTriple<T> extends LTuple<Object>, LObjIntPair<T>
Exact equivalent of input parameters used in LTieIntConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LObjBiIntTriple.AbstractObjBiIntTriple<T> |
static interface |
LObjBiIntTriple.ComparableObjBiIntTriple<T extends Comparable<T>> |
static class |
LObjBiIntTriple.ImmCompObjBiIntTriple<T extends Comparable<T>>
Immutable, comparable tuple.
|
static class |
LObjBiIntTriple.ImmObjBiIntTriple<T>
Immutable, non-comparable tuple.
|
static class |
LObjBiIntTriple.MutCompObjBiIntTriple<T extends Comparable<T>>
Mutable, comparable tuple.
|
static class |
LObjBiIntTriple.MutObjBiIntTriple<T>
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(LObjBiIntTriple the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static <T> boolean |
argEquals(T a1,
int a2,
int a3,
T b1,
int b2,
int b3)
Static equals() implementation that takes same arguments (doubled) as fields of the LObjBiIntTriple and checks if all values are equal.
|
static <T> int |
argHashCode(T a1,
int a2,
int a3)
Static hashCode() implementation method that takes same arguments as fields of the LObjBiIntTriple and calculates hash from it.
|
T |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
int |
third() |
default T |
value() |
argEquals, argEquals, argHashCodeargHashCodestatic final int SIZE
T first()
default T value()
int second()
second in interface LObjIntPair<T>int third()
default Object get(int index)
default int size()
Tuple size
static <T> int argHashCode(T a1,
int a2,
int a3)
Static hashCode() implementation method that takes same arguments as fields of the LObjBiIntTriple and calculates hash from it.
static <T> boolean argEquals(T a1,
int a2,
int a3,
T b1,
int b2,
int b3)
Static equals() implementation that takes same arguments (doubled) as fields of the LObjBiIntTriple and checks if all values are equal.
static boolean argEquals(LObjBiIntTriple 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.