Package com.landawn.abacus.util
Class Tuple.Tuple1<T1>
- java.lang.Object
-
- com.landawn.abacus.util.Tuple<Tuple.Tuple1<T1>>
-
- com.landawn.abacus.util.Tuple.Tuple1<T1>
-
- Type Parameters:
T1
-
public static final class Tuple.Tuple1<T1> extends Tuple<Tuple.Tuple1<T1>>
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>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allNull()
boolean
anyNull()
int
arity()
boolean
contains(Object objToFind)
boolean
equals(Object obj)
<E extends Exception>
voidforEach(Throwables.Consumer<?,E> consumer)
int
hashCode()
Object[]
toArray()
<A> A[]
toArray(A[] a)
String
toString()
-
-
-
Field Detail
-
_1
public final T1 _1
The 1.
-
-
Method Detail
-
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:
- true, if successful
-
allNull
public boolean allNull()
- Specified by:
allNull
in classTuple<Tuple.Tuple1<T1>>
- Returns:
- true, if successful
-
contains
public boolean contains(Object objToFind)
- Specified by:
contains
in classTuple<Tuple.Tuple1<T1>>
- Returns:
-
toArray
public Object[] 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
public <E extends Exception> void forEach(Throwables.Consumer<?,E> consumer) throws E extends Exception
- Specified by:
forEach
in classTuple<Tuple.Tuple1<T1>>
- Type Parameters:
E
-- Parameters:
consumer
-- Throws:
E
- the eE extends Exception
-
equals
public boolean equals(Object obj)
-
-