public static enum SelfAssignmentStatement.Type extends Enum<SelfAssignmentStatement.Type>
| Enum Constant and Description |
|---|
DIV_EQUALS
/=
|
MINUS_EQUALS
-=
|
PLUS_EQUALS
+=
|
REMAINDER_EQUALS
%=
|
TIMES_EQUALS
=
|
| Modifier and Type | Method and Description |
|---|---|
static SelfAssignmentStatement.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelfAssignmentStatement.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelfAssignmentStatement.Type PLUS_EQUALS
public static final SelfAssignmentStatement.Type MINUS_EQUALS
public static final SelfAssignmentStatement.Type DIV_EQUALS
public static final SelfAssignmentStatement.Type REMAINDER_EQUALS
public static final SelfAssignmentStatement.Type TIMES_EQUALS
public static SelfAssignmentStatement.Type[] values()
for (SelfAssignmentStatement.Type c : SelfAssignmentStatement.Type.values()) System.out.println(c);
public static SelfAssignmentStatement.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016 University of Nice-Sophia Antipolis. All Rights Reserved.