public interface LBoolIntPair extends LTuple<Object>, LBoolSingle
Exact equivalent of input parameters used in LBoolIntConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LBoolIntPair.AbstractBoolIntPair |
static interface |
LBoolIntPair.ComparableBoolIntPair |
static class |
LBoolIntPair.ImmBoolIntPair
Immutable, non-comparable tuple.
|
static class |
LBoolIntPair.ImmCompBoolIntPair
Immutable, comparable tuple.
|
static class |
LBoolIntPair.MutBoolIntPair
Mutable, non-comparable tuple.
|
static class |
LBoolIntPair.MutCompBoolIntPair
Mutable, comparable tuple.
|
LBoolSingle.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,
int a2,
boolean b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LBoolIntPair and checks if all values are equal.
|
static boolean |
argEquals(LBoolIntPair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(boolean a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LBoolIntPair and calculates hash from it.
|
boolean |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
default boolean |
value() |
argEquals, argEquals, argHashCodestatic final int SIZE
boolean first()
first in interface LBoolSingledefault boolean value()
value in interface LBoolSingleint second()
default Object get(int index)
get in interface LBoolSingledefault int size()
Tuple size
size in interface LBoolSinglesize in interface LTuple<Object>static int argHashCode(boolean a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LBoolIntPair and calculates hash from it.
static boolean argEquals(boolean a1,
int a2,
boolean b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LBoolIntPair and checks if all values are equal.
static boolean argEquals(LBoolIntPair 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.
default Iterator<Object> iterator()
iterator in interface LBoolSingleCopyright © 2019. All rights reserved.