public interface LByteSingle extends LTuple<Object>
Exact equivalent of input parameters used in LByteConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LByteSingle.AbstractByteSingle |
static interface |
LByteSingle.ComparableByteSingle |
static class |
LByteSingle.ImmByteSingle
Immutable, non-comparable tuple.
|
static class |
LByteSingle.ImmCompByteSingle
Immutable, comparable tuple.
|
static class |
LByteSingle.MutByteSingle
Mutable, non-comparable tuple.
|
static class |
LByteSingle.MutCompByteSingle
Mutable, comparable tuple.
|
LTuple.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(byte a,
byte b)
Static equals() implementation that takes same arguments (doubled) as fields of the LByteSingle and checks if all values are equal.
|
static boolean |
argEquals(LByteSingle the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(byte a)
Static hashCode() implementation method that takes same arguments as fields of the LByteSingle and calculates hash from it.
|
default byte |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
default int |
size()
Tuple size
|
byte |
value() |
static final int SIZE
byte value()
default byte first()
default Object get(int index)
static int argHashCode(byte a)
Static hashCode() implementation method that takes same arguments as fields of the LByteSingle and calculates hash from it.
static boolean argEquals(byte a,
byte b)
Static equals() implementation that takes same arguments (doubled) as fields of the LByteSingle and checks if all values are equal.
static boolean argEquals(LByteSingle 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.