|
lombok-pg - | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectlombok.Tuple
public class Tuple
| Constructor Summary | |
|---|---|
Tuple()
|
|
| Method Summary | |
|---|---|
static Tuple |
tuple(Object... objects)
A take on tuple assignments. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Tuple()
| Method Detail |
|---|
public static Tuple tuple(Object... objects)
public void tuple() {
int a, b, c = tuple(1, 2, 3);
int[] d = new int[] { 4, 5, 6 };
tuple(a, b) = tuple(b, a);
tuple(c, a, b) = tuple(d);
}
Note: This is an experimental feature and might not work in some cases. Please file a bug report if you
stumble over anything weird.
|
lombok-pg - | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||