|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--uk.ac.man.bioinf.sequence.complex.DefaultComplexSequenceType
DefaultComplexSequenceType.java Created: Mon Nov 27 16:05:27 2000
| Constructor Summary | |
DefaultComplexSequenceType(SequenceType type,
Modification[] mods,
String name)
|
|
| Method Summary | |
Element |
getElementForInt(int param1)
The inverse of the method getIntForElement. |
Element[] |
getElements()
Returns all the elements available in this sequence type. |
int |
getIntForElement(Element param1)
This method is present as a performance enhancement. |
Modification[] |
getModifications()
Gets all of the Modifications which are allowable in this sequence type. |
String |
getName()
Returns the human readable form of this sequence type. |
boolean |
isAllowableElement(ComplexElement element)
Is this given element allowable in this sequence type. |
boolean |
isElement(char param1)
Returns a boolean as to whether the specified element is part of this sequence type. |
boolean |
isElement(char[] param1)
Returns a boolean as to whether the specified elements are part of this sequence type. |
boolean |
isElement(Element param1)
Returns a boolean as to whether the specified element is part of this sequence type. |
boolean |
isElement(Element[] param1)
Returns a boolean as to whether the specified elements are part of this sequence type. |
boolean |
isModification(Modification mod)
Is this modification one which is allowable in this sequence type. |
boolean |
isModification(Modification[] mods)
Are these modifications allowable in this sequence type. |
int |
size()
Returns the number of elements in this sequence type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultComplexSequenceType(SequenceType type,
Modification[] mods,
String name)
| Method Detail |
public String getName()
SequenceType
getName in interface SequenceTypepublic Modification[] getModifications()
ComplexSequenceType
getModifications in interface ComplexSequenceTypepublic boolean isModification(Modification mod)
ComplexSequenceType
isModification in interface ComplexSequenceTypemod - the modification
public boolean isModification(Modification[] mods)
ComplexSequenceType
isModification in interface ComplexSequenceTypemods - the modifications
public boolean isAllowableElement(ComplexElement element)
ComplexSequenceType
isAllowableElement in interface ComplexSequenceTypeelement -
public boolean isElement(Element[] param1)
SequenceType
isElement in interface SequenceTypeparam1 - the elements
public boolean isElement(char[] param1)
SequenceType
isElement in interface SequenceTypeparam1 - the elements
public boolean isElement(Element param1)
SequenceType
isElement in interface SequenceTypeparam1 - the element
public boolean isElement(char param1)
SequenceType
isElement in interface SequenceTypeparam1 - the element
public Element[] getElements()
SequenceType
getElements in interface SequenceTypepublic Element getElementForInt(int param1)
SequenceType
getElementForInt in interface SequenceTypeparam1 - a value of type 'int'
public int getIntForElement(Element param1)
SequenceType
getIntForElement in interface SequenceTypeparam1 - the element
public int size()
SequenceType
size in interface SequenceType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||