net.aerith.misao.util
Class ConstellationTable
java.lang.Object
|
+--net.aerith.misao.util.ConstellationTable
- public class ConstellationTable
- extends java.lang.Object
The ConstellationTable
is a class with functions to
convert between constellation names, codes and the number.
Field Summary |
protected static int |
AND
The number of constellations. |
protected static int |
ANT
|
protected static int |
APS
|
protected static int |
AQL
|
protected static int |
AQR
|
protected static int |
ARA
|
protected static int |
ARI
|
protected static int |
AUR
|
protected static int |
BOO
|
protected static int |
CAE
|
protected static int |
CAM
|
protected static int |
CAP
|
protected static int |
CAR
|
protected static int |
CAS
|
protected static int |
CEN
|
protected static int |
CEP
|
protected static int |
CET
|
protected static int |
CHA
|
protected static int |
CIR
|
protected static int |
CMA
|
protected static int |
CMI
|
protected static int |
CNC
|
protected static int |
COL
|
protected static int |
COM
|
protected static java.lang.String[] |
constellation_codes
The constellation codes. |
protected static int |
CRA
|
protected static int |
CRB
|
protected static int |
CRT
|
protected static int |
CRU
|
protected static int |
CRV
|
protected static int |
CVN
|
protected static int |
CYG
|
protected static int |
DEL
|
protected static int |
DOR
|
protected static int |
DRA
|
protected static int |
EQU
|
protected static int |
ERI
|
protected static int |
FOR
|
protected static int |
GEM
|
protected static int |
GRU
|
protected static int |
HER
|
protected static int |
HOR
|
protected static int |
HYA
|
protected static int |
HYI
|
protected static int |
IND
|
protected static int |
LAC
|
protected static int |
LEO
|
protected static int |
LEP
|
protected static int |
LIB
|
protected static int |
LMI
|
protected static int |
LUP
|
protected static int |
LYN
|
protected static int |
LYR
|
protected static int |
MEN
|
protected static int |
MIC
|
protected static int |
MON
|
protected static int |
MUS
|
protected static int |
NOR
|
protected static int |
OCT
|
protected static int |
OPH
|
protected static int |
ORI
|
protected static int |
PAV
|
protected static int |
PEG
|
protected static int |
PER
|
protected static int |
PHE
|
protected static int |
PIC
|
protected static int |
PSA
|
protected static int |
PSC
|
protected static int |
PUP
|
protected static int |
PYX
|
protected static int |
RET
|
protected static int |
SCL
|
protected static int |
SCO
|
protected static int |
SCT
|
protected static int |
SER
|
protected static int |
SEX
|
protected static int |
SGE
|
protected static int |
SGR
|
protected static int |
TAU
|
protected static int |
TEL
|
protected static int |
TRA
|
protected static int |
TRI
|
protected static int |
TUC
|
protected static int |
UMA
|
protected static int |
UMI
|
protected static int |
VEL
|
protected static int |
VIR
|
protected static int |
VOL
|
protected static int |
VUL
|
Method Summary |
static java.lang.String |
getConstellationCode(int number)
Gets the constellation code of the specified number. |
static int |
getConstellationNumber(java.lang.String code)
Gets the number of constellation of the specified code. |
static boolean |
isConstellationCode(java.lang.String string)
Returns true if the specified string is one of the
constellation codes. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
AND
protected static final int AND
- The number of constellations.
ANT
protected static final int ANT
APS
protected static final int APS
AQL
protected static final int AQL
AQR
protected static final int AQR
ARA
protected static final int ARA
ARI
protected static final int ARI
AUR
protected static final int AUR
BOO
protected static final int BOO
CMA
protected static final int CMA
CMI
protected static final int CMI
CVN
protected static final int CVN
CAE
protected static final int CAE
CAM
protected static final int CAM
CAP
protected static final int CAP
CAR
protected static final int CAR
CAS
protected static final int CAS
CEN
protected static final int CEN
CEP
protected static final int CEP
CET
protected static final int CET
CHA
protected static final int CHA
CIR
protected static final int CIR
CNC
protected static final int CNC
COL
protected static final int COL
COM
protected static final int COM
CRA
protected static final int CRA
CRB
protected static final int CRB
CRT
protected static final int CRT
CRU
protected static final int CRU
CRV
protected static final int CRV
CYG
protected static final int CYG
DEL
protected static final int DEL
DOR
protected static final int DOR
DRA
protected static final int DRA
EQU
protected static final int EQU
ERI
protected static final int ERI
FOR
protected static final int FOR
GEM
protected static final int GEM
GRU
protected static final int GRU
HER
protected static final int HER
HOR
protected static final int HOR
HYA
protected static final int HYA
HYI
protected static final int HYI
IND
protected static final int IND
LMI
protected static final int LMI
LAC
protected static final int LAC
LEO
protected static final int LEO
LEP
protected static final int LEP
LIB
protected static final int LIB
LUP
protected static final int LUP
LYN
protected static final int LYN
LYR
protected static final int LYR
MEN
protected static final int MEN
MIC
protected static final int MIC
MON
protected static final int MON
MUS
protected static final int MUS
NOR
protected static final int NOR
OCT
protected static final int OCT
OPH
protected static final int OPH
ORI
protected static final int ORI
PAV
protected static final int PAV
PEG
protected static final int PEG
PER
protected static final int PER
PHE
protected static final int PHE
PIC
protected static final int PIC
PSA
protected static final int PSA
PSC
protected static final int PSC
PUP
protected static final int PUP
PYX
protected static final int PYX
RET
protected static final int RET
SCL
protected static final int SCL
SCO
protected static final int SCO
SCT
protected static final int SCT
SER
protected static final int SER
SEX
protected static final int SEX
SGE
protected static final int SGE
SGR
protected static final int SGR
TAU
protected static final int TAU
TEL
protected static final int TEL
TRA
protected static final int TRA
TRI
protected static final int TRI
TUC
protected static final int TUC
UMA
protected static final int UMA
UMI
protected static final int UMI
VEL
protected static final int VEL
VIR
protected static final int VIR
VOL
protected static final int VOL
VUL
protected static final int VUL
constellation_codes
protected static final java.lang.String[] constellation_codes
- The constellation codes.
ConstellationTable
public ConstellationTable()
isConstellationCode
public static boolean isConstellationCode(java.lang.String string)
- Returns true if the specified string is one of the
constellation codes.
- Parameters:
string
- the constellation code.- Returns:
- true if the specified string is one of the
constellation codes.
getConstellationCode
public static java.lang.String getConstellationCode(int number)
- Gets the constellation code of the specified number.
- Parameters:
number
- the number of constellation.- Returns:
- the constellation code of the specified number.
getConstellationNumber
public static int getConstellationNumber(java.lang.String code)
- Gets the number of constellation of the specified code.
- Parameters:
code
- the constellation code.- Returns:
- the number of constellation of the specified code.