public interface LByteIntPair extends LTuple<Object>, LByteSingle
Exact equivalent of input parameters used in LByteIntConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LByteIntPair.AbstractByteIntPair |
static interface |
LByteIntPair.ComparableByteIntPair |
static class |
LByteIntPair.ImmByteIntPair
Immutable, non-comparable tuple.
|
static class |
LByteIntPair.ImmCompByteIntPair
Immutable, comparable tuple.
|
static class |
LByteIntPair.MutByteIntPair
Mutable, non-comparable tuple.
|
static class |
LByteIntPair.MutCompByteIntPair
Mutable, comparable tuple.
|
LByteSingle.AbstractByteSingle, LByteSingle.ComparableByteSingle, LByteSingle.ImmByteSingle, LByteSingle.ImmCompByteSingle, LByteSingle.MutByteSingle, LByteSingle.MutCompByteSingleLTuple.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(byte a1,
int a2,
byte b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LByteIntPair and checks if all values are equal.
|
static boolean |
argEquals(LByteIntPair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(byte a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LByteIntPair and calculates hash from it.
|
byte |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
default byte |
value() |
argEquals, argEquals, argHashCodestatic final int SIZE
byte first()
first in interface LByteSingledefault byte value()
value in interface LByteSingleint second()
default Object get(int index)
get in interface LByteSingledefault int size()
Tuple size
size in interface LByteSinglesize in interface LTuple<Object>static int argHashCode(byte a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LByteIntPair and calculates hash from it.
static boolean argEquals(byte a1,
int a2,
byte b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LByteIntPair and checks if all values are equal.
static boolean argEquals(LByteIntPair 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 LByteSingleCopyright © 2019. All rights reserved.