|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcds.astro.Mtype
public class Mtype
| Constructor Summary | |
|---|---|
Mtype()
Empty constructor. |
|
Mtype(java.lang.String str)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Copy values parameters |
boolean |
equals(java.lang.Object o)
Compares two Mtype objects |
int |
get()
Get the binary type |
int |
hashCode()
Compute the hashcode |
boolean |
isUnknown()
Check if the morph. type is unknown |
int |
parse(java.lang.String str)
Parses a string representing a morphological type |
int |
parse(java.lang.String str,
int offset)
Parses a string representing a morphological type |
void |
reset()
Resets the morph. type to unknown |
void |
set(java.lang.String str)
Sets a morpholical type from a string |
java.lang.String |
toString()
Edits a coded morphological type |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Mtype()
public Mtype(java.lang.String str)
str - string containing the morph. type to parse| Method Detail |
|---|
public void set(java.lang.String str)
str - string to parsepublic void reset()
public boolean isUnknown()
public int parse(java.lang.String str)
str - string containing the morph. type to parse
public int parse(java.lang.String str,
int offset)
str - string containing the morph. type to parseoffset - first char to use for parsing the morphological type
public int get()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - object to compare
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||