edu.nrao.sss.model.resource.vla
Enum IFPair
java.lang.Object
java.lang.Enum<IFPair>
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. |
AC
public static final IFPair AC
BD
public static final IFPair BD
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.