Mobios v0.91

mobios.type
Enum Peptide.AminoAcid

java.lang.Object
  extended by java.lang.Enum<Peptide.AminoAcid>
      extended by mobios.type.Peptide.AminoAcid
All Implemented Interfaces:
Externalizable, Serializable, Comparable<Peptide.AminoAcid>, Symbol
Enclosing class:
Peptide

public static enum Peptide.AminoAcid
extends Enum<Peptide.AminoAcid>
implements Symbol


Enum Constant Summary
A
           
B
           
C
           
D
           
E
           
F
           
G
           
H
           
I
           
K
           
L
           
M
           
N
           
P
           
Q
           
R
           
S
           
T
           
U
           
V
           
W
           
X
           
Y
           
Z
           
 
Method Summary
 String abbreviation()
           
 byte byteValue()
           
 String description()
           
static int distinctSize()
           
 String getString(int maxLength)
           
 Symbol getSymbol(String s)
           
 void readExternal(ObjectInput in)
           
 String stringValue()
           
static Peptide.AminoAcid valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Peptide.AminoAcid[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A

public static final Peptide.AminoAcid A

R

public static final Peptide.AminoAcid R

N

public static final Peptide.AminoAcid N

D

public static final Peptide.AminoAcid D

C

public static final Peptide.AminoAcid C

Q

public static final Peptide.AminoAcid Q

E

public static final Peptide.AminoAcid E

G

public static final Peptide.AminoAcid G

H

public static final Peptide.AminoAcid H

I

public static final Peptide.AminoAcid I

L

public static final Peptide.AminoAcid L

K

public static final Peptide.AminoAcid K

M

public static final Peptide.AminoAcid M

F

public static final Peptide.AminoAcid F

P

public static final Peptide.AminoAcid P

S

public static final Peptide.AminoAcid S

T

public static final Peptide.AminoAcid T

W

public static final Peptide.AminoAcid W

Y

public static final Peptide.AminoAcid Y

V

public static final Peptide.AminoAcid V

B

public static final Peptide.AminoAcid B

Z

public static final Peptide.AminoAcid Z

U

public static final Peptide.AminoAcid U

X

public static final Peptide.AminoAcid X
Method Detail

values

public static final Peptide.AminoAcid[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Peptide.AminoAcid c : Peptide.AminoAcid.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Peptide.AminoAcid valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

abbreviation

public String abbreviation()

description

public String description()

byteValue

public byte byteValue()
Specified by:
byteValue in interface Symbol
Returns:

stringValue

public String stringValue()
Specified by:
stringValue in interface Symbol
Returns:

getSymbol

public Symbol getSymbol(String s)
Specified by:
getSymbol in interface Symbol
Returns:

getString

public final String getString(int maxLength)

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

distinctSize

public static int distinctSize()

Mobios v0.91

(C) 2002 - 2006 The MoBIoS Group