public interface LBoolTriple extends LTuple<Object>, LBoolPair
Exact equivalent of input parameters used in LTriBoolConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LBoolTriple.AbstractBoolTriple |
static interface |
LBoolTriple.ComparableBoolTriple |
static class |
LBoolTriple.ImmBoolTriple
Immutable, non-comparable tuple.
|
static class |
LBoolTriple.ImmCompBoolTriple
Immutable, comparable tuple.
|
static class |
LBoolTriple.MutBoolTriple
Mutable, non-comparable tuple.
|
static class |
LBoolTriple.MutCompBoolTriple
Mutable, comparable tuple.
|
LBoolPair.AbstractBoolPair, LBoolPair.ComparableBoolPair, LBoolPair.ImmBoolPair, LBoolPair.ImmCompBoolPair, LBoolPair.MutBoolPair, LBoolPair.MutCompBoolPairLBoolSingle.AbstractBoolSingle, LBoolSingle.ComparableBoolSingle, LBoolSingle.ImmBoolSingle, LBoolSingle.ImmCompBoolSingle, LBoolSingle.MutBoolSingle, LBoolSingle.MutCompBoolSingleLTuple.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(boolean a1,
boolean a2,
boolean a3,
boolean b1,
boolean b2,
boolean b3)
Static equals() implementation that takes same arguments (doubled) as fields of the LBoolTriple and checks if all values are equal.
|
static boolean |
argEquals(LBoolTriple the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(boolean a1,
boolean a2,
boolean a3)
Static hashCode() implementation method that takes same arguments as fields of the LBoolTriple and calculates hash from it.
|
boolean |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
boolean |
second() |
default int |
size()
Tuple size
|
boolean |
third() |
default boolean |
value() |
argEquals, argEquals, argHashCodeargEquals, argEquals, argHashCodestatic final int SIZE
boolean first()
first in interface LBoolPairfirst in interface LBoolSingledefault boolean value()
value in interface LBoolPairvalue in interface LBoolSingleboolean third()
default Object get(int index)
get in interface LBoolPairget in interface LBoolSingledefault int size()
Tuple size
static int argHashCode(boolean a1,
boolean a2,
boolean a3)
Static hashCode() implementation method that takes same arguments as fields of the LBoolTriple and calculates hash from it.
static boolean argEquals(boolean a1,
boolean a2,
boolean a3,
boolean b1,
boolean b2,
boolean b3)
Static equals() implementation that takes same arguments (doubled) as fields of the LBoolTriple and checks if all values are equal.
static boolean argEquals(LBoolTriple 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.