edu.nrao.sss.model.parameter
Enum Band

java.lang.Object
  extended by java.lang.Enum<Band>
      extended by edu.nrao.sss.model.parameter.Band
All Implemented Interfaces:
Serializable, Comparable<Band>

public enum Band
extends Enum<Band>


Enum Constant Summary
FIFTEENGHz
           
FOURTYFIVEGHz
           
ONEPOINTFIVEGHz
           
SEVENTYFIVEMHz
           
SIXGHz
           
TENGHz
           
THIRTYTHREEGHz
           
THREEGHz
           
THREEHUNDREDMHz
           
TWENTYTWOGHz
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.