cz.cuni.amis.pogamut.sposh.elements
Enum Freq.FreqUnits
java.lang.Object
java.lang.Enum<Freq.FreqUnits>
cz.cuni.amis.pogamut.sposh.elements.Freq.FreqUnits
- All Implemented Interfaces:
- Serializable, Comparable<Freq.FreqUnits>
- Enclosing class:
- Freq
public static enum Freq.FreqUnits
- extends Enum<Freq.FreqUnits>
Units for frequency
- Author:
- HonzaH
HOURS
public static final Freq.FreqUnits HOURS
MINUTES
public static final Freq.FreqUnits MINUTES
SECONDS
public static final Freq.FreqUnits SECONDS
NONE
public static final Freq.FreqUnits NONE
HZ
public static final Freq.FreqUnits HZ
PM
public static final Freq.FreqUnits PM
values
public static Freq.FreqUnits[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Freq.FreqUnits c : Freq.FreqUnits.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Freq.FreqUnits valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<Freq.FreqUnits>
getId
public int getId()
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.