public interface LFltPair extends LTuple<Object>, LFltSingle
Exact equivalent of input parameters used in LBiFltConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LFltPair.AbstractFltPair |
static interface |
LFltPair.ComparableFltPair |
static class |
LFltPair.ImmCompFltPair
Immutable, comparable tuple.
|
static class |
LFltPair.ImmFltPair
Immutable, non-comparable tuple.
|
static class |
LFltPair.MutCompFltPair
Mutable, comparable tuple.
|
static class |
LFltPair.MutFltPair
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,
float a2,
float b1,
float b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LFltPair and checks if all values are equal.
|
static boolean |
argEquals(LFltPair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(float a1,
float a2)
Static hashCode() implementation method that takes same arguments as fields of the LFltPair and calculates hash from it.
|
float |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
float |
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 LFltSinglefloat 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,
float a2)
Static hashCode() implementation method that takes same arguments as fields of the LFltPair and calculates hash from it.
static boolean argEquals(float a1,
float a2,
float b1,
float b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LFltPair and checks if all values are equal.
static boolean argEquals(LFltPair 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.