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