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