public static enum Matrix.Kind extends Enum<Matrix.Kind> implements StringValue<Matrix.Kind>
| Modifier and Type | Method and Description |
|---|---|
static Matrix.Kind |
fromValue(String v) |
String |
toString() |
String |
value() |
static Matrix.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Matrix.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Matrix.Kind DIAGONAL
public static final Matrix.Kind SYMMETRIC
public static final Matrix.Kind ANY
public static Matrix.Kind[] values()
for (Matrix.Kind c : Matrix.Kind.values()) System.out.println(c);
public static Matrix.Kind 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 String value()
value in interface StringValue<Matrix.Kind>public static Matrix.Kind fromValue(String v)
public String toString()
toString in class Enum<Matrix.Kind>Copyright © 2019 University of Tartu. All rights reserved.