Class Tuple3<T1,T2,T3>
- java.lang.Object
-
- com.moilioncircle.redis.replicator.util.type.Tuple3<T1,T2,T3>
-
- All Implemented Interfaces:
Serializable
,Iterable<Object>
public class Tuple3<T1,T2,T3> 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 boolean
equals(Object o)
static <V> Tuple3<V,V,V>
from(Iterable<V> iterable)
static <V> Tuple3<V,V,V>
from(Collection<V> collection)
static <V> Tuple3<V,V,V>
from(Iterator<V> iterator)
static <V> Tuple3<V,V,V>
from(V... ary)
T1
getV1()
T2
getV2()
T3
getV3()
int
hashCode()
Iterator<Object>
iterator()
<V1,V2,V3>
Tuple3<V1,V2,V3>map(Function<Tuple3<T1,T2,T3>,Tuple3<V1,V2,V3>> function)
void
setV1(T1 v1)
void
setV2(T2 v2)
void
setV3(T3 v3)
Object[]
toArray()
<T> T[]
toArray(Class<T> clazz)
<T> T
toObject(Function<Tuple3<T1,T2,T3>,T> func)
String
toString()
-
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()
-
setV1
public void setV1(T1 v1)
-
setV2
public void setV2(T2 v2)
-
setV3
public void setV3(T3 v3)
-
map
public <V1,V2,V3> Tuple3<V1,V2,V3> map(Function<Tuple3<T1,T2,T3>,Tuple3<V1,V2,V3>> function)
-
from
public static <V> Tuple3<V,V,V> from(V... ary)
-
from
public static <V> Tuple3<V,V,V> from(Collection<V> collection)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(Class<T> clazz)
-
-