sdsi
Class Sequence

java.lang.Object
  |
  +--sdsi.SDSIObject
        |
        +--sdsi.Sequence
All Implemented Interfaces:
java.io.Serializable

public class Sequence
extends SDSIObject

Author:
Alexander Morcos, Sameer Ajmani
See Also:
Serialized Form

Field Summary
(package private)  SDSIObject[] members
           
 
Fields inherited from class sdsi.SDSIObject
_hash, _modified, srep
 
Constructor Summary
Sequence(SexpList l)
           
 
Method Summary
 int count()
           
static Sequence createFrom(SequenceItem[] objects)
           
 java.lang.String getAbbreviation()
          Returns a single or double letter abbreviation this SDSIObject.
 java.lang.String getType()
          Returns a short string that represents the type of this SDSIObject.
 SDSIObject[] members()
           
 boolean sameAs(java.lang.Object object)
           
 java.lang.String toShortString()
          Returns a short descriptive string representing this SDSIObject.
 
Methods inherited from class sdsi.SDSIObject
equals, getHash, getHash, getSrep, hashCode, principalParse, readFrom, readFrom, sign, toReadableString, toString, writeCanonical, writeReadable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

members

SDSIObject[] members
Constructor Detail

Sequence

public Sequence(SexpList l)
         throws SexpParseException
Method Detail

getAbbreviation

public java.lang.String getAbbreviation()
Description copied from class: SDSIObject
Returns a single or double letter abbreviation this SDSIObject.

Specified by:
getAbbreviation in class SDSIObject
Returns:
an abbreviated description of this SDSIObject.

sameAs

public boolean sameAs(java.lang.Object object)
Overrides:
sameAs in class SDSIObject

createFrom

public static Sequence createFrom(SequenceItem[] objects)
                           throws SexpParseException
SexpParseException

members

public SDSIObject[] members()

count

public int count()

getType

public java.lang.String getType()
Description copied from class: SDSIObject
Returns a short string that represents the type of this SDSIObject.

Overrides:
getType in class SDSIObject
Returns:
a string represent the type of SDSIObject we're dealing with.

toShortString

public java.lang.String toShortString()
Description copied from class: SDSIObject
Returns a short descriptive string representing this SDSIObject.

Specified by:
toShortString in class SDSIObject
Returns:
a short string description of this SDSIObject.