|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.javatuples.Tuple org.javatuples.Octet<A,B,C,D,E,F,G,H>
public final class Octet<A,B,C,D,E,F,G,H>
A tuple of eight elements.
Constructor Summary | |
---|---|
Octet(A value0,
B value1,
C value2,
D value3,
E value4,
F value5,
G value6,
H value7)
|
Method Summary | ||
---|---|---|
|
add(Pair<X0,X1> tuple)
|
|
|
add(Unit<X0> tuple)
|
|
|
add(X0 value0)
|
|
|
add(X0 value0,
X1 value1)
|
|
|
addAt0(Pair<X0,X1> tuple)
|
|
|
addAt0(Unit<X0> tuple)
|
|
|
addAt0(X0 value0)
|
|
|
addAt0(X0 value0,
X1 value1)
|
|
|
addAt1(Pair<X0,X1> tuple)
|
|
|
addAt1(Unit<X0> tuple)
|
|
|
addAt1(X0 value0)
|
|
|
addAt1(X0 value0,
X1 value1)
|
|
|
addAt2(Pair<X0,X1> tuple)
|
|
|
addAt2(Unit<X0> tuple)
|
|
|
addAt2(X0 value0)
|
|
|
addAt2(X0 value0,
X1 value1)
|
|
|
addAt3(Pair<X0,X1> tuple)
|
|
|
addAt3(Unit<X0> tuple)
|
|
|
addAt3(X0 value0)
|
|
|
addAt3(X0 value0,
X1 value1)
|
|
|
addAt4(Pair<X0,X1> tuple)
|
|
|
addAt4(Unit<X0> tuple)
|
|
|
addAt4(X0 value0)
|
|
|
addAt4(X0 value0,
X1 value1)
|
|
|
addAt5(Pair<X0,X1> tuple)
|
|
|
addAt5(Unit<X0> tuple)
|
|
|
addAt5(X0 value0)
|
|
|
addAt5(X0 value0,
X1 value1)
|
|
|
addAt6(Pair<X0,X1> tuple)
|
|
|
addAt6(Unit<X0> tuple)
|
|
|
addAt6(X0 value0)
|
|
|
addAt6(X0 value0,
X1 value1)
|
|
|
addAt7(Pair<X0,X1> tuple)
|
|
|
addAt7(Unit<X0> tuple)
|
|
|
addAt7(X0 value0)
|
|
|
addAt7(X0 value0,
X1 value1)
|
|
|
addAt8(Pair<X0,X1> tuple)
|
|
|
addAt8(Unit<X0> tuple)
|
|
|
addAt8(X0 value0)
|
|
|
addAt8(X0 value0,
X1 value1)
|
|
static
|
fromArray(X[] array)
Create tuple from array. |
|
static
|
fromCollection(Collection<X> collection)
Create tuple from collection. |
|
static
|
fromIterable(Iterable<X> iterable)
Create tuple from iterable. |
|
static
|
fromIterable(Iterable<X> iterable,
int index)
Create tuple from iterable, starting from the specified index. |
|
int |
getSize()
Return the size of the tuple. |
|
A |
getValue0()
|
|
B |
getValue1()
|
|
C |
getValue2()
|
|
D |
getValue3()
|
|
E |
getValue4()
|
|
F |
getValue5()
|
|
G |
getValue6()
|
|
H |
getValue7()
|
|
Septet<B,C,D,E,F,G,H> |
removeFrom0()
|
|
Septet<A,C,D,E,F,G,H> |
removeFrom1()
|
|
Septet<A,B,D,E,F,G,H> |
removeFrom2()
|
|
Septet<A,B,C,E,F,G,H> |
removeFrom3()
|
|
Septet<A,B,C,D,F,G,H> |
removeFrom4()
|
|
Septet<A,B,C,D,E,G,H> |
removeFrom5()
|
|
Septet<A,B,C,D,E,F,H> |
removeFrom6()
|
|
Septet<A,B,C,D,E,F,G> |
removeFrom7()
|
|
|
setAt0(X value)
|
|
|
setAt1(X value)
|
|
|
setAt2(X value)
|
|
|
setAt3(X value)
|
|
|
setAt4(X value)
|
|
|
setAt5(X value)
|
|
|
setAt6(X value)
|
|
|
setAt7(X value)
|
|
static
|
with(A value0,
B value1,
C value2,
D value3,
E value4,
F value5,
G value6,
H value7)
|
Methods inherited from class org.javatuples.Tuple |
---|
compareTo, contains, containsAll, containsAll, equals, getValue, hashCode, indexOf, iterator, lastIndexOf, toArray, toList, toString |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Octet(A value0, B value1, C value2, D value3, E value4, F value5, G value6, H value7)
Method Detail |
---|
public static <A,B,C,D,E,F,G,H> Octet<A,B,C,D,E,F,G,H> with(A value0, B value1, C value2, D value3, E value4, F value5, G value6, H value7)
public static <X> Octet<X,X,X,X,X,X,X,X> fromArray(X[] array)
Create tuple from array. Array has to have exactly eight elements.
X
- the array component typearray
- the array to be converted to a tuple
public static <X> Octet<X,X,X,X,X,X,X,X> fromCollection(Collection<X> collection)
Create tuple from collection. Collection has to have exactly eight elements.
X
- the collection component typecollection
- the collection to be converted to a tuple
public static <X> Octet<X,X,X,X,X,X,X,X> fromIterable(Iterable<X> iterable)
Create tuple from iterable. Iterable has to have exactly eight elements.
X
- the iterable component typeiterable
- the iterable to be converted to a tuple
public static <X> Octet<X,X,X,X,X,X,X,X> fromIterable(Iterable<X> iterable, int index)
Create tuple from iterable, starting from the specified index. Iterable can have more (or less) elements than the tuple to be created.
X
- the iterable component typeiterable
- the iterable to be converted to a tuple
public A getValue0()
getValue0
in interface IValue0<A>
public B getValue1()
getValue1
in interface IValue1<B>
public C getValue2()
getValue2
in interface IValue2<C>
public D getValue3()
getValue3
in interface IValue3<D>
public E getValue4()
getValue4
in interface IValue4<E>
public F getValue5()
getValue5
in interface IValue5<F>
public G getValue6()
getValue6
in interface IValue6<G>
public H getValue7()
getValue7
in interface IValue7<H>
public int getSize()
Tuple
Return the size of the tuple.
getSize
in class Tuple
public <X0> Ennead<X0,A,B,C,D,E,F,G,H> addAt0(X0 value0)
public <X0> Ennead<A,X0,B,C,D,E,F,G,H> addAt1(X0 value0)
public <X0> Ennead<A,B,X0,C,D,E,F,G,H> addAt2(X0 value0)
public <X0> Ennead<A,B,C,X0,D,E,F,G,H> addAt3(X0 value0)
public <X0> Ennead<A,B,C,D,X0,E,F,G,H> addAt4(X0 value0)
public <X0> Ennead<A,B,C,D,E,X0,F,G,H> addAt5(X0 value0)
public <X0> Ennead<A,B,C,D,E,F,X0,G,H> addAt6(X0 value0)
public <X0> Ennead<A,B,C,D,E,F,G,X0,H> addAt7(X0 value0)
public <X0> Ennead<A,B,C,D,E,F,G,H,X0> addAt8(X0 value0)
public <X0,X1> Decade<X0,X1,A,B,C,D,E,F,G,H> addAt0(X0 value0, X1 value1)
public <X0,X1> Decade<A,X0,X1,B,C,D,E,F,G,H> addAt1(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,X0,X1,C,D,E,F,G,H> addAt2(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,C,X0,X1,D,E,F,G,H> addAt3(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,C,D,X0,X1,E,F,G,H> addAt4(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,C,D,E,X0,X1,F,G,H> addAt5(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,C,D,E,F,X0,X1,G,H> addAt6(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,C,D,E,F,G,X0,X1,H> addAt7(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,C,D,E,F,G,H,X0,X1> addAt8(X0 value0, X1 value1)
public <X0> Ennead<X0,A,B,C,D,E,F,G,H> addAt0(Unit<X0> tuple)
public <X0> Ennead<A,X0,B,C,D,E,F,G,H> addAt1(Unit<X0> tuple)
public <X0> Ennead<A,B,X0,C,D,E,F,G,H> addAt2(Unit<X0> tuple)
public <X0> Ennead<A,B,C,X0,D,E,F,G,H> addAt3(Unit<X0> tuple)
public <X0> Ennead<A,B,C,D,X0,E,F,G,H> addAt4(Unit<X0> tuple)
public <X0> Ennead<A,B,C,D,E,X0,F,G,H> addAt5(Unit<X0> tuple)
public <X0> Ennead<A,B,C,D,E,F,X0,G,H> addAt6(Unit<X0> tuple)
public <X0> Ennead<A,B,C,D,E,F,G,X0,H> addAt7(Unit<X0> tuple)
public <X0> Ennead<A,B,C,D,E,F,G,H,X0> addAt8(Unit<X0> tuple)
public <X0,X1> Decade<X0,X1,A,B,C,D,E,F,G,H> addAt0(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,X0,X1,B,C,D,E,F,G,H> addAt1(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,B,X0,X1,C,D,E,F,G,H> addAt2(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,B,C,X0,X1,D,E,F,G,H> addAt3(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,B,C,D,X0,X1,E,F,G,H> addAt4(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,B,C,D,E,X0,X1,F,G,H> addAt5(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,B,C,D,E,F,X0,X1,G,H> addAt6(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,B,C,D,E,F,G,X0,X1,H> addAt7(Pair<X0,X1> tuple)
public <X0,X1> Decade<A,B,C,D,E,F,G,H,X0,X1> addAt8(Pair<X0,X1> tuple)
public <X0> Ennead<A,B,C,D,E,F,G,H,X0> add(X0 value0)
public <X0> Ennead<A,B,C,D,E,F,G,H,X0> add(Unit<X0> tuple)
public <X0,X1> Decade<A,B,C,D,E,F,G,H,X0,X1> add(X0 value0, X1 value1)
public <X0,X1> Decade<A,B,C,D,E,F,G,H,X0,X1> add(Pair<X0,X1> tuple)
public <X> Octet<X,B,C,D,E,F,G,H> setAt0(X value)
public <X> Octet<A,X,C,D,E,F,G,H> setAt1(X value)
public <X> Octet<A,B,X,D,E,F,G,H> setAt2(X value)
public <X> Octet<A,B,C,X,E,F,G,H> setAt3(X value)
public <X> Octet<A,B,C,D,X,F,G,H> setAt4(X value)
public <X> Octet<A,B,C,D,E,X,G,H> setAt5(X value)
public <X> Octet<A,B,C,D,E,F,X,H> setAt6(X value)
public <X> Octet<A,B,C,D,E,F,G,X> setAt7(X value)
public Septet<B,C,D,E,F,G,H> removeFrom0()
public Septet<A,C,D,E,F,G,H> removeFrom1()
public Septet<A,B,D,E,F,G,H> removeFrom2()
public Septet<A,B,C,E,F,G,H> removeFrom3()
public Septet<A,B,C,D,F,G,H> removeFrom4()
public Septet<A,B,C,D,E,G,H> removeFrom5()
public Septet<A,B,C,D,E,F,H> removeFrom6()
public Septet<A,B,C,D,E,F,G> removeFrom7()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |