public final class OCamlTuple6<T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> extends OCamlValue
OCamlOption
class is the wrapper class for OCaml values of
type 'a * 'b * 'c * 'd * 'e * 'f
.WRAPPER
Modifier and Type | Method and Description |
---|---|
static <T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> |
create(T0 v0,
T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5)
Constructs a new
'a * 'b * 'c * 'c * 'd * 'e * 'f value, and wraps it. |
boolean |
equals(java.lang.Object obj) |
T0 |
get0()
Returns the first element of the wrapped value.
|
T1 |
get1()
Returns the second element of the wrapped value.
|
T2 |
get2()
Returns the third element of the wrapped value.
|
T3 |
get3()
Returns the fourth element of the wrapped value.
|
T4 |
get4()
Returns the fifth element of the wrapped value.
|
T5 |
get5()
Returns the sixth element of the wrapped value.
|
Wrapper<? extends OCamlTuple6<T0,T1,T2,T3,T4,T5>> |
getWrapper()
Returns the wrapper used to wrap
Value elements into
instances of the current class. |
Wrapper<? extends OCamlValue> |
getWrapper(int idx)
Returns the wrapper used to wrap
Value elements into
instances of the embedded type at given index. |
int |
hashCode() |
java.lang.String |
toString() |
static <T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> |
wrap(Wrapper<T0> w0,
Wrapper<T1> w1,
Wrapper<T2> w2,
Wrapper<T3> w3,
Wrapper<T4> w4,
Wrapper<T5> w5,
org.ocamljava.runtime.values.Value v)
Wraps the passed value.
|
static <T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> |
wrapper(Wrapper<T0> w0,
Wrapper<T1> w1,
Wrapper<T2> w2,
Wrapper<T3> w3,
Wrapper<T4> w4,
Wrapper<T5> w5)
Returns a wrapper for
OCamlTuple6 values. |
value, wrap, wrapper
public Wrapper<? extends OCamlTuple6<T0,T1,T2,T3,T4,T5>> getWrapper()
Value
elements into
instances of the current class.getWrapper
in class OCamlValue
Value
elements into
instances of the current classpublic Wrapper<? extends OCamlValue> getWrapper(int idx)
Value
elements into
instances of the embedded type at given index.getWrapper
in class OCamlValue
idx
- index of embedded typeValue
elements into
instances of the embedded type at given index.public T0 get0()
public T1 get1()
public T2 get2()
public T3 get3()
public T4 get4()
public T5 get5()
public int hashCode()
hashCode
in class OCamlValue
public boolean equals(java.lang.Object obj)
equals
in class OCamlValue
public java.lang.String toString()
toString
in class OCamlValue
public static <T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> OCamlTuple6<T0,T1,T2,T3,T4,T5> create(T0 v0, T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
'a * 'b * 'c * 'c * 'd * 'e * 'f
value, and wraps it.v0
- first element of value to wrapv1
- second element of value to wrapv2
- third element of value to wrapv3
- fourth element of value to wrapv4
- fifth element of value to wrapv5
- sixth element of value to wrapOCamlTuple6
instance wrapping the passed valuespublic static <T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> OCamlTuple6<T0,T1,T2,T3,T4,T5> wrap(Wrapper<T0> w0, Wrapper<T1> w1, Wrapper<T2> w2, Wrapper<T3> w3, Wrapper<T4> w4, Wrapper<T5> w5, org.ocamljava.runtime.values.Value v)
w0
- wrapper for nested value - should not be null
w1
- wrapper for nested value - should not be null
w2
- wrapper for nested value - should not be null
w3
- wrapper for nested value - should not be null
w4
- wrapper for nested value - should not be null
w5
- wrapper for nested value - should not be null
v
- value to wrap - should not be null
OCamlTuple6
instance wrapping the passed valuepublic static <T0 extends OCamlValue,T1 extends OCamlValue,T2 extends OCamlValue,T3 extends OCamlValue,T4 extends OCamlValue,T5 extends OCamlValue> Wrapper<? extends OCamlTuple6<T0,T1,T2,T3,T4,T5>> wrapper(Wrapper<T0> w0, Wrapper<T1> w1, Wrapper<T2> w2, Wrapper<T3> w3, Wrapper<T4> w4, Wrapper<T5> w5)
OCamlTuple6
values.w0
- wrapper for nested value - should not be null
w1
- wrapper for nested value - should not be null
w2
- wrapper for nested value - should not be null
w3
- wrapper for nested value - should not be null
w4
- wrapper for nested value - should not be null
w5
- wrapper for nested value - should not be null
OCamlTuple6
values