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