public interface LDblIntPair extends LTuple<Object>, LDblSingle
Exact equivalent of input parameters used in LDblIntConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LDblIntPair.AbstractDblIntPair |
static interface |
LDblIntPair.ComparableDblIntPair |
static class |
LDblIntPair.ImmCompDblIntPair
Immutable, comparable tuple.
|
static class |
LDblIntPair.ImmDblIntPair
Immutable, non-comparable tuple.
|
static class |
LDblIntPair.MutCompDblIntPair
Mutable, comparable tuple.
|
static class |
LDblIntPair.MutDblIntPair
Mutable, non-comparable tuple.
|
LDblSingle.AbstractDblSingle, LDblSingle.ComparableDblSingle, LDblSingle.ImmCompDblSingle, LDblSingle.ImmDblSingle, LDblSingle.MutCompDblSingle, LDblSingle.MutDblSingleLTuple.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(double a1,
int a2,
double b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LDblIntPair and checks if all values are equal.
|
static boolean |
argEquals(LDblIntPair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(double a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LDblIntPair and calculates hash from it.
|
double |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
default double |
value() |
argEquals, argEquals, argHashCodestatic final int SIZE
double first()
first in interface LDblSingledefault double value()
value in interface LDblSingleint second()
default Object get(int index)
get in interface LDblSingledefault int size()
Tuple size
size in interface LDblSinglesize in interface LTuple<Object>static int argHashCode(double a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LDblIntPair and calculates hash from it.
static boolean argEquals(double a1,
int a2,
double b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LDblIntPair and checks if all values are equal.
static boolean argEquals(LDblIntPair 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 LDblSingleCopyright © 2019. All rights reserved.