public enum cardinality extends Enum<cardinality>
| Enum Constant and Description |
|---|
COUNTABLYINFINITE
COUNTABLYINFINITE
|
FINITE
FINITE
|
| Modifier and Type | Method and Description |
|---|---|
static cardinality |
parse(String string) |
static cardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static cardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final cardinality FINITE
public static final cardinality COUNTABLYINFINITE
public static cardinality[] values()
for (cardinality c : cardinality.values()) System.out.println(c);
public static cardinality 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 nullpublic static cardinality parse(String string)
string - stringCopyright © 2018 The University of Manchester. All rights reserved.