public enum Sign extends Enum<Sign>
Input within the
system. The possible values are positive, negative, dual and unknown.| Modifier and Type | Method and Description |
|---|---|
static Sign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sign negative
public static final Sign positive
public static final Sign dual
public static final Sign unknown
public static Sign[] values()
for (Sign c : Sign.values()) System.out.println(c);
public static Sign 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 © 2009–2017. All rights reserved.