public enum cardinality extends Enum<cardinality>
| Enum Constant and Description |
|---|
COUNTABLYINFINITE |
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)
Copyright © 2013 The University of Manchester. All Rights Reserved.