|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--uk.ac.man.bioinf.module.ModuleIdentifierList
To provide a list of module identifiers in a type safe manor. This is basically a thin wrapper to list, specially targeted for module identifiers. Created: Wed May 24 15:06:49 2000
| Constructor Summary | |
ModuleIdentifierList(List list)
|
|
| Method Summary | |
boolean |
add(ModuleIdentifier m)
Adds a module identifier to the list. |
void |
clear()
Clear the list. |
boolean |
contains(ModuleIdentifier m)
Returns whether a module identifier is contained in this list. |
ModuleIdentifier |
get(int i)
Returns the module identifier at a given index. |
int |
indexOf(ModuleIdentifier m)
Returns the index of a module identifier. |
boolean |
isEmpty()
Returns whether the list is empty. |
ModuleIdentifier |
remove(int i)
Removes a module identifier at a specific index. |
boolean |
remove(ModuleIdentifier m)
Removes a module identifier from the list. |
int |
size()
Returns the number of module identifiers. |
ModuleIdentifier[] |
toArray()
Returns an array of module identifiers. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModuleIdentifierList(List list)
| Method Detail |
public boolean add(ModuleIdentifier m)
m - the module identifier
public void clear()
public boolean contains(ModuleIdentifier m)
m - the query module identifier
public ModuleIdentifier get(int i)
i - the index
public int indexOf(ModuleIdentifier m)
m - the module identifier
public boolean isEmpty()
public ModuleIdentifier remove(int i)
i - the index of the module identifier
public boolean remove(ModuleIdentifier m)
m - the module identifier to be removed
public int size()
public ModuleIdentifier[] toArray()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||