public interface LBytePair extends LTuple<Object>, LByteSingle
Exact equivalent of input parameters used in LBiByteConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LBytePair.AbstractBytePair |
static interface |
LBytePair.ComparableBytePair |
static class |
LBytePair.ImmBytePair
Immutable, non-comparable tuple.
|
static class |
LBytePair.ImmCompBytePair
Immutable, comparable tuple.
|
static class |
LBytePair.MutBytePair
Mutable, non-comparable tuple.
|
static class |
LBytePair.MutCompBytePair
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,
byte a2,
byte b1,
byte b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LBytePair and checks if all values are equal.
|
static boolean |
argEquals(LBytePair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(byte a1,
byte a2)
Static hashCode() implementation method that takes same arguments as fields of the LBytePair and calculates hash from it.
|
byte |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
byte |
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 LByteSinglebyte 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,
byte a2)
Static hashCode() implementation method that takes same arguments as fields of the LBytePair and calculates hash from it.
static boolean argEquals(byte a1,
byte a2,
byte b1,
byte b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LBytePair and checks if all values are equal.
static boolean argEquals(LBytePair 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.