|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PolarizationType> edu.nrao.sss.astronomy.PolarizationType
public enum PolarizationType
The polarizations a single receptor can detect.
This enumeration has the same name, and most of the elements have the same names and are in the same order, as the corresponding ALMA enumeration. The one exception is the UNSPECIFIED element, which is not present in the ALMA specification.
References
$Revision: 1387 $ |
$Date: 2008-06-27 16:17:41 -0600 (Fri, 27 Jun 2008) $ |
$Author: dharland $ (last person to modify) |
Enum Constant Summary | |
---|---|
L
Left-handed circular polarization. |
|
R
Right-handed circular polarization. |
|
UNSPECIFIED
Used when the polarization is unspecified or unknown. |
|
X
X-axis linear polarization. |
|
Y
Y-axis linear polarization. |
Method Summary | |
---|---|
static PolarizationType |
fromString(String text)
Returns the polarization type represented by text . |
static Set<PolarizationType> |
getCircularTypes()
Returns the complete set of circular polarizations. |
static Set<PolarizationType> |
getLinearTypes()
Returns the complete set of linear polarizations. |
PolarizationType |
getOpposite()
Returns the opposite polarization. |
boolean |
isCircular()
Returns true if this is a type of circular polarization. |
boolean |
isLinear()
Returns true if this is a type of linear polarization. |
static PolarizationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PolarizationType[] |
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 |
---|
public static final PolarizationType R
public static final PolarizationType L
public static final PolarizationType X
public static final PolarizationType Y
public static final PolarizationType UNSPECIFIED
Method Detail |
---|
public static PolarizationType[] values()
for (PolarizationType c : PolarizationType.values()) System.out.println(c);
public static PolarizationType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isCircular()
public boolean isLinear()
public PolarizationType getOpposite()
public static PolarizationType fromString(String text)
text
.
For details about the transformation, see
EnumerationUtility.enumFromString(Class, String)
.
text
- a text representation of a polarization type.
text
.public static Set<PolarizationType> getCircularTypes()
public static Set<PolarizationType> getLinearTypes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |