|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DataType>
fr.cnes.sirius.patrius.tools.ephemerisComparator.DataType
public enum DataType
This class enumerates the available data types. Each of them is also characterised by the number of elements necessary to build the object they represent. This number can be -1 if any is accepted, or more than zero otherwise.
Enum Constant Summary | |
---|---|
ANGLE
The angle object requires only 1 parameter. |
|
DATE
The date object can be created from several combinations of parameters |
|
DOUBLE
The double object requires only 1 parameter. |
|
P1_QSW
The position/velocity object can be created from 6 components |
|
P1_TNW
The position/velocity object can be created from 6 components |
|
P2_QSW
The position/velocity object can be created from 6 components |
|
P2_TNW
The position/velocity object can be created from 6 components |
|
P3_QSW
The position/velocity object can be created from 6 components |
|
P3_TNW
The position/velocity object can be created from 6 components |
|
QUATERNION
The quaternion object can be created from several combinations of parameters |
|
ROTATION
The rotation object can be created from several combinations of parameters |
|
V1_QSW
The position/velocity object can be created from 6 components |
|
V1_TNW
The position/velocity object can be created from 6 components |
|
V2_QSW
The position/velocity object can be created from 6 components |
|
V2_TNW
The position/velocity object can be created from 6 components |
|
V3_QSW
The position/velocity object can be created from 6 components |
|
V3_TNW
The position/velocity object can be created from 6 components |
|
VECTOR
The vector object can take any number of parameters. |
Method Summary | |
---|---|
boolean |
isSizedAllowed(int size)
Tells if the size is allowed |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DataType[] |
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 DataType DOUBLE
public static final DataType VECTOR
public static final DataType ANGLE
public static final DataType DATE
public static final DataType ROTATION
public static final DataType QUATERNION
public static final DataType P1_QSW
public static final DataType P2_QSW
public static final DataType P3_QSW
public static final DataType V1_QSW
public static final DataType V2_QSW
public static final DataType V3_QSW
public static final DataType P1_TNW
public static final DataType P2_TNW
public static final DataType P3_TNW
public static final DataType V1_TNW
public static final DataType V2_TNW
public static final DataType V3_TNW
Method Detail |
---|
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 isSizedAllowed(int size)
size
- the size that is to be checked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |