public abstract class Union extends java.lang.Object
This class defines common behavior.
| Constructor and Description |
|---|
Union() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object[] |
__$$_destruct(int number,
boolean substruct,
java.lang.Object[] toSkip)
New style destructuring helper.
|
Tuple |
destruct()
Deprecated.
This method should not be called directly and is no more used by new style destructuring.
|
java.lang.Object[] |
toArray()
Array conversion.
|
public Union()
public java.lang.Object[] toArray()
@Deprecated public Tuple destruct()
public java.lang.Object[] __$$_destruct(int number, boolean substruct, java.lang.Object[] toSkip)
number - number of variable that will be affected.substruct - whether the destructuring is complete or should contains a sub structure.toSkip - a boolean array indicating the elements to skip.