public enum IsoSpin extends Enum<IsoSpin>
Enum Constant and Description |
---|
MINUS_ONE_HALF
-1/2.
|
ONE_HALF
1/2.
|
ZERO
Zero.
|
Modifier and Type | Method and Description |
---|---|
CRational |
getIsoSpin()
Gets the IsoSpin.
|
String |
toString()
Creates a String representation of this IsoSpin.
|
static IsoSpin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IsoSpin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsoSpin MINUS_ONE_HALF
public static final IsoSpin ZERO
public static final IsoSpin ONE_HALF
public static IsoSpin[] values()
for (IsoSpin c : IsoSpin.values()) System.out.println(c);
public static IsoSpin 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 CRational getIsoSpin()
public String toString()
toString
in class Enum<IsoSpin>
CRational.toString()
Copyright © 2008–2018. All rights reserved.