ITuple2.Base<T1,T2>
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
_1()
Get the first element.
|
default T |
_2()
Get the second element.
|
default NamedNullableValue<T> |
asNullable()
View this as a nullable value with a name.
|
java.lang.String |
getName()
Get the name of the named value.
|
T |
getValue()
Get the value.
|
static <V> NamedValue<V> |
of(java.lang.String name,
V value)
Create a named value.
|
static java.lang.String |
toString(NamedValue<?> nv)
Default implementation for creating a string representation
for a named value.
|
_21, asBase, concat1, concat2, concat3, concat4, concat5, concat6, concat7, concat8, concatPred1, concatPred2, concatPred3, concatPred4, concatPred5, concatPred6, concatPred7, concatPred8, concatProc1, concatProc2, concatProc3, concatProc4, concatProc5, concatProc6, concatProc7, concatProc8, equals, frozen, frozenNotNull, hash, invoke, sendTo, testBy, toString, toString, view
@NotNull java.lang.String getName()
@NotNull default java.lang.String _1()
ITuple2
@NotNull default NamedNullableValue<T> asNullable()
@NotNull static <V> NamedValue<V> of(@NotNull java.lang.String name, @NotNull V value)
V
- value typename
- namevalue
- value@NotNull static java.lang.String toString(@NotNull NamedValue<?> nv)
nv
- named value