public interface LLongIntPair extends LTuple<Object>, LLongSingle
Exact equivalent of input parameters used in LLongIntConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LLongIntPair.AbstractLongIntPair |
static interface |
LLongIntPair.ComparableLongIntPair |
static class |
LLongIntPair.ImmCompLongIntPair
Immutable, comparable tuple.
|
static class |
LLongIntPair.ImmLongIntPair
Immutable, non-comparable tuple.
|
static class |
LLongIntPair.MutCompLongIntPair
Mutable, comparable tuple.
|
static class |
LLongIntPair.MutLongIntPair
Mutable, non-comparable tuple.
|
LLongSingle.AbstractLongSingle, LLongSingle.ComparableLongSingle, LLongSingle.ImmCompLongSingle, LLongSingle.ImmLongSingle, LLongSingle.MutCompLongSingle, LLongSingle.MutLongSingleLTuple.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(LLongIntPair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static boolean |
argEquals(long a1,
int a2,
long b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LLongIntPair and checks if all values are equal.
|
static int |
argHashCode(long a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LLongIntPair and calculates hash from it.
|
long |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
default long |
value() |
argEquals, argEquals, argHashCodestatic final int SIZE
long first()
first in interface LLongSingledefault long value()
value in interface LLongSingleint second()
default Object get(int index)
get in interface LLongSingledefault int size()
Tuple size
size in interface LLongSinglesize in interface LTuple<Object>static int argHashCode(long a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LLongIntPair and calculates hash from it.
static boolean argEquals(long a1,
int a2,
long b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LLongIntPair and checks if all values are equal.
static boolean argEquals(LLongIntPair 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 LLongSingleCopyright © 2019. All rights reserved.