|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.astro.SpTypeCode
public class SpTypeCode
Container for a spectral code name item (temp class or lum class) and its code value
Constructor Summary | |
---|---|
SpTypeCode(java.lang.String sname,
int scode)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o2)
Equals method |
int |
getCode()
Get the code |
java.lang.String |
getName()
Get the name |
int |
hashCode()
Compute the hashcode |
void |
setCode(int scode)
Set the code value |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpTypeCode(java.lang.String sname, int scode)
sname
- name of the spectral type itemscode
- code value of the itemMethod Detail |
---|
public boolean equals(java.lang.Object o2)
equals
in class java.lang.Object
o2
- 2nd SpTypeCode object to compare with the current object
public int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String getName()
public final int getCode()
public final void setCode(int scode)
scode
- code value
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |