public static enum Phase.Transition extends Enum<Phase.Transition>
Enum Constant and Description |
---|
BOIL
Boil.
|
CONDENSE
Condense.
|
DEIONIZE
Deionize.
|
DEPOSIT
Deposit.
|
FREEZE
Freeze.
|
IONIZE
Ionize.
|
MELT
Melt.
|
SUBLIME
Sublime.
|
Modifier and Type | Method and Description |
---|---|
static Phase.Transition |
from(Phase from,
Phase to)
Gets the transition from the supplied phase, to the supplied phase.
|
static Phase.Transition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Phase.Transition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Phase.Transition MELT
public static final Phase.Transition FREEZE
public static final Phase.Transition BOIL
public static final Phase.Transition CONDENSE
public static final Phase.Transition SUBLIME
public static final Phase.Transition DEPOSIT
public static final Phase.Transition IONIZE
public static final Phase.Transition DEIONIZE
public static Phase.Transition[] values()
for (Phase.Transition c : Phase.Transition.values()) System.out.println(c);
public static Phase.Transition 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 Phase.Transition from(Phase from, Phase to)
from
- The from phase.to
- The to phase.Copyright © 2008–2018. All rights reserved.