Class Tuple1<T1>
- java.lang.Object
-
- com.moilioncircle.redis.replicator.util.type.Tuple1<T1>
-
- All Implemented Interfaces:
Serializable,Iterable<T1>
public class Tuple1<T1> extends Object implements Iterable<T1>, Serializable
- Author:
- Leon Chen
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static <V> Tuple1<V>from(Iterable<V> iterable)static <V> Tuple1<V>from(Collection<V> collection)static <V> Tuple1<V>from(Iterator<V> iterator)static <V> Tuple1<V>from(V... ary)T1getV1()inthashCode()Iterator<T1>iterator()<V1> Tuple1<V1>map(Function<Tuple1<T1>,Tuple1<V1>> function)voidsetV1(T1 v1)Object[]toArray()<T> T[]toArray(Class<T> clazz)<T> TtoObject(Function<Tuple1<T1>,T> func)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-