Serializable
, Comparable<Tense>
public enum Tense extends Enum<Tense>
Modifier and Type | Field | Description |
---|---|---|
static Tense |
Eternal |
|
protected static Map<String,Tense> |
stringToTense |
|
String |
symbol |
Modifier and Type | Method | Description |
---|---|---|
static Tense |
tense(String s) |
|
String |
toString() |
|
static Tense |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Tense[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tense Past
public static final Tense Present
public static final Tense Future
public static Tense[] values()
for (Tense c : Tense.values()) System.out.println(c);
public static Tense 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 © 2020 OpenNARS. All rights reserved.