public interface LFltIntPair extends LTuple<Object>, LFltSingle
Exact equivalent of input parameters used in LFltIntConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LFltIntPair.AbstractFltIntPair |
static interface |
LFltIntPair.ComparableFltIntPair |
static class |
LFltIntPair.ImmCompFltIntPair
Immutable, comparable tuple.
|
static class |
LFltIntPair.ImmFltIntPair
Immutable, non-comparable tuple.
|
static class |
LFltIntPair.MutCompFltIntPair
Mutable, comparable tuple.
|
static class |
LFltIntPair.MutFltIntPair
Mutable, non-comparable tuple.
|
LFltSingle.AbstractFltSingle, LFltSingle.ComparableFltSingle, LFltSingle.ImmCompFltSingle, LFltSingle.ImmFltSingle, LFltSingle.MutCompFltSingle, LFltSingle.MutFltSingleLTuple.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(float a1,
int a2,
float b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LFltIntPair and checks if all values are equal.
|
static boolean |
argEquals(LFltIntPair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(float a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LFltIntPair and calculates hash from it.
|
float |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
default float |
value() |
argEquals, argEquals, argHashCodestatic final int SIZE
float first()
first in interface LFltSingledefault float value()
value in interface LFltSingleint second()
default Object get(int index)
get in interface LFltSingledefault int size()
Tuple size
size in interface LFltSinglesize in interface LTuple<Object>static int argHashCode(float a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LFltIntPair and calculates hash from it.
static boolean argEquals(float a1,
int a2,
float b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LFltIntPair and checks if all values are equal.
static boolean argEquals(LFltIntPair 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 LFltSingleCopyright © 2019. All rights reserved.