edu.nrao.sss.model.resource.vla
Enum IFPair

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

public enum IFPair
extends Enum<IFPair>

VLA intermediate frequencies that are typically associated together. The names of the IFs are "A", "B", "C", and "D". These are often paired into "AC" and "BD".

Version Info:

$Revision: 1222 $
$Date: 2008-04-15 11:16:50 -0600 (Tue, 15 Apr 2008) $
$Author: dharland $ (last person to modify)

Since:
2008-03-19
Author:
David M. Harland

Enum Constant Summary
AC
           
BD
           
 
Method Summary
static IFPair valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IFPair[] 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

AC

public static final IFPair AC

BD

public static final IFPair BD
Method Detail

values

public static IFPair[] 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 (IFPair c : IFPair.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IFPair 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


Copyright © 2009. All Rights Reserved.