|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.bioinf.sequence.types.AbstractSequenceType
AbstractSequenceType.java Created: Thu Feb 17 13:02:28 2000
Field Summary | |
protected Element[] |
elements
|
Constructor Summary | |
AbstractSequenceType(Element[][] elements,
String name)
|
|
AbstractSequenceType(Element[] elements,
String name)
|
Method Summary | |
Element[] |
getElements()
Returns all the elements available in this sequence type. |
String |
getName()
Returns the human readable form of this sequence type. |
boolean |
isElement(char element)
Returns a boolean as to whether the specified element is part of this sequence type. |
boolean |
isElement(char[] element)
Returns a boolean as to whether the specified elements are part of this sequence type. |
boolean |
isElement(Element element)
Returns a boolean as to whether the specified element is part of this sequence type. |
boolean |
isElement(Element[] element)
Returns a boolean as to whether the specified elements are part of 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 |
Methods inherited from interface uk.ac.man.bioinf.sequence.SequenceType |
getElementForInt, getIntForElement |
Field Detail |
protected Element[] elements
Constructor Detail |
public AbstractSequenceType(Element[] elements, String name)
public AbstractSequenceType(Element[][] elements, String name)
Method Detail |
public boolean isElement(Element element)
SequenceType
isElement
in interface SequenceType
element
- the element
public boolean isElement(Element[] element)
SequenceType
isElement
in interface SequenceType
element
- the elements
public boolean isElement(char element)
SequenceType
isElement
in interface SequenceType
element
- the element
public boolean isElement(char[] element)
SequenceType
isElement
in interface SequenceType
element
- the elements
public String getName()
SequenceType
getName
in interface SequenceType
public Element[] getElements()
SequenceType
getElements
in interface SequenceType
public int size()
SequenceType
size
in interface SequenceType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |