edu.nrao.sss.model.resource
Enum ObservingMode
java.lang.Object
java.lang.Enum<ObservingMode>
edu.nrao.sss.model.resource.ObservingMode
- All Implemented Interfaces:
- Serializable, Comparable<ObservingMode>
public enum ObservingMode
- extends Enum<ObservingMode>
Mode of observing.
Version Info:
$Revision: 408 $ |
$Date: 2007-03-01 08:20:30 -0700 (Thu, 01 Mar 2007) $ |
$Author: dharland $ |
- Since:
- 2006-09-08
- Author:
- David M. Harland
Method Summary |
static ObservingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ObservingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
CONTINUUM
public static final ObservingMode CONTINUUM
SPECTRAL_LINE
public static final ObservingMode SPECTRAL_LINE
PULSAR
public static final ObservingMode PULSAR
values
public static ObservingMode[] 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 (ObservingMode c : ObservingMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ObservingMode 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.