Package com.landawn.abacus.util
Class Tuple.Tuple1<T1>
- Type Parameters:
T1
-
- All Implemented Interfaces:
Immutable
The Class Tuple1.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.landawn.abacus.util.Tuple
Tuple.Tuple1<T1>, Tuple.Tuple2<T1,
T2>, Tuple.Tuple3<T1, T2, T3>, Tuple.Tuple4<T1, T2, T3, T4>, Tuple.Tuple5<T1, T2, T3, T4, T5>, Tuple.Tuple6<T1, T2, T3, T4, T5, T6>, Tuple.Tuple7<T1, T2, T3, T4, T5, T6, T7>, Tuple.Tuple8<T1, T2, T3, T4, T5, T6, T7, T8>, Tuple.Tuple9<T1, T2, T3, T4, T5, T6, T7, T8, T9> -
Field Summary
-
Method Summary
-
Field Details
-
_1
The 1.
-
-
Method Details
-
arity
public int arity()- Specified by:
arity
in classTuple<Tuple.Tuple1<T1>>
- Returns:
-
anyNull
public boolean anyNull()- Specified by:
anyNull
in classTuple<Tuple.Tuple1<T1>>
- Returns:
-
allNull
public boolean allNull()- Specified by:
allNull
in classTuple<Tuple.Tuple1<T1>>
- Returns:
-
contains
- Specified by:
contains
in classTuple<Tuple.Tuple1<T1>>
- Returns:
-
toArray
- Specified by:
toArray
in classTuple<Tuple.Tuple1<T1>>
- Returns:
-
toArray
public <A> A[] toArray(A[] a) - Specified by:
toArray
in classTuple<Tuple.Tuple1<T1>>
- Type Parameters:
A
-- Parameters:
a
-- Returns:
-
forEach
- Specified by:
forEach
in classTuple<Tuple.Tuple1<T1>>
- Type Parameters:
E
-- Parameters:
consumer
-- Throws:
E
- the e
-
hashCode
public int hashCode() -
equals
-
toString
-