|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.core.science.Science
public class Science
A class representing a field of science.
| Field Summary | |
|---|---|
static String |
AREOLOGY
|
static String |
ASTRONOMY
|
static String |
BIOLOGY
|
static String |
BOTANY
|
static String |
CHEMISTRY
|
static String |
MATHEMATICS
|
static String |
MEDICINE
|
static String |
METEOROLOGY
|
static String |
PHYSICS
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
Compares this object with the specified object for order. |
boolean |
equals(Object object)
Checks if an object is equal to this object. |
String |
getName()
Gets the name of the field of science. |
int |
hashCode()
Gets the hash code value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String AREOLOGY
public static final String ASTRONOMY
public static final String BIOLOGY
public static final String BOTANY
public static final String CHEMISTRY
public static final String MATHEMATICS
public static final String MEDICINE
public static final String METEOROLOGY
public static final String PHYSICS
| Method Detail |
|---|
public String getName()
public int compareTo(Object o)
compareTo in interface Comparableo - the Object to be compared.
public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||