edu.nrao.sss.model.parameter
Enum Band
java.lang.Object
java.lang.Enum<Band>
edu.nrao.sss.model.parameter.Band
- All Implemented Interfaces:
- Serializable, Comparable<Band>
public enum Band
- extends Enum<Band>
Method Summary |
int |
getMegaHertz()
|
String |
getName()
|
static Band |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Band[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
SEVENTYFIVEMHz
public static final Band SEVENTYFIVEMHz
THREEHUNDREDMHz
public static final Band THREEHUNDREDMHz
ONEPOINTFIVEGHz
public static final Band ONEPOINTFIVEGHz
THREEGHz
public static final Band THREEGHz
SIXGHz
public static final Band SIXGHz
TENGHz
public static final Band TENGHz
FIFTEENGHz
public static final Band FIFTEENGHz
TWENTYTWOGHz
public static final Band TWENTYTWOGHz
THIRTYTHREEGHz
public static final Band THIRTYTHREEGHz
FOURTYFIVEGHz
public static final Band FOURTYFIVEGHz
values
public static Band[] 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 (Band c : Band.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Band 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
getName
public String getName()
getMegaHertz
public int getMegaHertz()
Copyright © 2009. All Rights Reserved.