cds.astro
Class Mtype

java.lang.Object
  extended by cds.astro.Mtype
All Implemented Interfaces:
java.io.Serializable

public class Mtype
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Mtype()
           
Mtype(java.lang.String str)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          MOD-BB 21-01-04 Ajout de cette methode.
 int get()
           
static void main(java.lang.String[] args)
           
 int set(java.lang.String str)
          Sets the coded value of a string representing a morphological type
 java.lang.String toString()
          Edits a coded morphological type
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mtype

public Mtype()

Mtype

public Mtype(java.lang.String str)
Method Detail

set

public int set(java.lang.String str)
Sets the coded value of a string representing a morphological type


get

public int get()

toString

public java.lang.String toString()
Edits a coded morphological type

Overrides:
toString in class java.lang.Object
Returns:
the edited morphological type

main

public static void main(java.lang.String[] args)

equals

public boolean equals(java.lang.Object o)
MOD-BB 21-01-04 Ajout de cette methode. Comparaison de Mtype.

Overrides:
equals in class java.lang.Object
Parameters:
o - Objet a comparer.
Returns:
Vrai si o est identique a this, faux sinon.