Class Tuple5<T1,T2,T3,T4,T5>
- java.lang.Object
-
- com.moilioncircle.redis.replicator.util.type.Tuple5<T1,T2,T3,T4,T5>
-
- All Implemented Interfaces:
Serializable,Iterable<Object>
public class Tuple5<T1,T2,T3,T4,T5> extends Object implements Iterable<Object>, 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> Tuple5<V,V,V,V,V>from(Iterable<V> iterable)static <V> Tuple5<V,V,V,V,V>from(Collection<V> collection)static <V> Tuple5<V,V,V,V,V>from(Iterator<V> iterator)static <V> Tuple5<V,V,V,V,V>from(V... ary)T1getV1()T2getV2()T3getV3()T4getV4()T5getV5()inthashCode()Iterator<Object>iterator()<V1,V2,V3,V4,V5>
Tuple5<V1,V2,V3,V4,V5>map(Function<Tuple5<T1,T2,T3,T4,T5>,Tuple5<V1,V2,V3,V4,V5>> function)voidsetV1(T1 v1)voidsetV2(T2 v2)voidsetV3(T3 v3)voidsetV4(T4 v4)voidsetV5(T5 v5)Object[]toArray()<T> T[]toArray(Class<T> clazz)<T> TtoObject(Function<Tuple5<T1,T2,T3,T4,T5>,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
-
-
-
-
Method Detail
-
getV1
public T1 getV1()
-
getV2
public T2 getV2()
-
getV3
public T3 getV3()
-
getV4
public T4 getV4()
-
getV5
public T5 getV5()
-
setV1
public void setV1(T1 v1)
-
setV2
public void setV2(T2 v2)
-
setV3
public void setV3(T3 v3)
-
setV4
public void setV4(T4 v4)
-
setV5
public void setV5(T5 v5)
-
map
public <V1,V2,V3,V4,V5> Tuple5<V1,V2,V3,V4,V5> map(Function<Tuple5<T1,T2,T3,T4,T5>,Tuple5<V1,V2,V3,V4,V5>> function)
-
from
public static <V> Tuple5<V,V,V,V,V> from(V... ary)
-
from
public static <V> Tuple5<V,V,V,V,V> from(Collection<V> collection)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(Class<T> clazz)
-
-