public interface LCharIntPair extends LTuple<Object>, LCharSingle
Exact equivalent of input parameters used in LCharIntConsumer.
| Modifier and Type | Interface and Description |
|---|---|
static class |
LCharIntPair.AbstractCharIntPair |
static interface |
LCharIntPair.ComparableCharIntPair |
static class |
LCharIntPair.ImmCharIntPair
Immutable, non-comparable tuple.
|
static class |
LCharIntPair.ImmCompCharIntPair
Immutable, comparable tuple.
|
static class |
LCharIntPair.MutCharIntPair
Mutable, non-comparable tuple.
|
static class |
LCharIntPair.MutCompCharIntPair
Mutable, comparable tuple.
|
LCharSingle.AbstractCharSingle, LCharSingle.ComparableCharSingle, LCharSingle.ImmCharSingle, LCharSingle.ImmCompCharSingle, LCharSingle.MutCharSingle, LCharSingle.MutCompCharSingleLTuple.Void| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
argEquals(char a1,
int a2,
char b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LCharIntPair and checks if all values are equal.
|
static boolean |
argEquals(LCharIntPair the,
Object that)
Static equals() implementation that takes two tuples asnd checks if they are equal.
|
static int |
argHashCode(char a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LCharIntPair and calculates hash from it.
|
char |
first() |
default Object |
get(int index) |
default Iterator<Object> |
iterator() |
int |
second() |
default int |
size()
Tuple size
|
default char |
value() |
argEquals, argEquals, argHashCodestatic final int SIZE
char first()
first in interface LCharSingledefault char value()
value in interface LCharSingleint second()
default Object get(int index)
get in interface LCharSingledefault int size()
Tuple size
size in interface LCharSinglesize in interface LTuple<Object>static int argHashCode(char a1,
int a2)
Static hashCode() implementation method that takes same arguments as fields of the LCharIntPair and calculates hash from it.
static boolean argEquals(char a1,
int a2,
char b1,
int b2)
Static equals() implementation that takes same arguments (doubled) as fields of the LCharIntPair and checks if all values are equal.
static boolean argEquals(LCharIntPair 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 LCharSingleCopyright © 2019. All rights reserved.