|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tuple3<A,B,C>
| Method Summary | |
|---|---|
Tuple3<B,C,A> |
rotateLeft()
Rotates this Tuple3 components to left, creating a new one where
the first component is placed at the third position, an the rests, shifted
right. |
Tuple3<C,A,B> |
rotateRight()
Rotates this Tuple3 components to right, creating a new one where
the third component is placed at the first position, an the rests, shifted
right. |
| Methods inherited from interface net.sf.staccatocommons.defs.partial.ToListAware |
|---|
toArray, toList |
| Methods inherited from interface net.sf.staccatocommons.defs.partial.FirstAware |
|---|
_0, first |
| Methods inherited from interface net.sf.staccatocommons.defs.partial.SecondAware |
|---|
_1, second |
| Methods inherited from interface net.sf.staccatocommons.defs.partial.ThirdAware |
|---|
_2, third |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
@NonNull Tuple3<B,C,A> rotateLeft()
Rotates this Tuple3 components to left, creating a new one where
the first component is placed at the third position, an the rests, shifted
right.
Given a triple whose components a, b, c implement appropriately equals
method, the following is always true
_(a,b,c).rotateLeft().equals(_(b,c,a))
Tuple3, with its components rotated to left@NonNull Tuple3<C,A,B> rotateRight()
Rotates this Tuple3 components to right, creating a new one where
the third component is placed at the first position, an the rests, shifted
right.
Given a triple whose components a, b, c implement appropriately equals
method, the following is always true
_(a,b,c).rotateLeft().equals(_(c,b,a))
Tuple3, with its components rotated to right
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||