public class PluginListOf extends PluginSBase
sbase
Modifier | Constructor and Description |
---|---|
|
PluginListOf()
Constructor
|
protected |
PluginListOf(PluginSBase parent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
append(PluginSBase sbase)
Adds a PluginSBase to this PluginListOf
|
void |
clear()
Clears this PluginListOf
|
boolean |
contains(PluginSBase sbase) |
PluginSBase |
get(int i)
Gets PluginSBase with the given index from this PluginListOf.
|
java.util.ArrayList |
getArray() |
int |
getNumItems()
Deprecated.
In libSBML 3, getNumItems has been renamed to size().
|
PluginSBase |
getParentSBase() |
PluginSBase |
remove(int i)
Removes PluginSBase with the given index from this PluginListOf.
|
boolean |
remove(PluginSBase sbase)
Removes the PluginSBase from this PluginListOf.
|
int |
size() |
PluginSBase[] |
toArray()
Convers this PluginListOf to array
The elements in the array refer to the same elements of this PluginListOf
|
addCVTerm, ChangeCVTermToMiriamDefinition, getAnnotation, getAnnotationString, getCVTerm, getNotes, getNotesString, getNumCVTerms, getRelationFromCVTerm, setAnnotation, setAnnotationString, setCVTerm, setNotes, setNotes, setParentSBase, toSBML
public PluginListOf()
protected PluginListOf(PluginSBase parent)
parent
- PluginSBasepublic PluginSBase getParentSBase()
getParentSBase
in class PluginSBase
public boolean append(PluginSBase sbase)
sbase
- PluginSBasepublic PluginSBase get(int i)
i
- the index of the listpublic PluginSBase remove(int i)
i
- the indexpublic boolean remove(PluginSBase sbase)
sbase
- PluginSBase removedpublic int size()
public int getNumItems()
public PluginSBase[] toArray()
public boolean contains(PluginSBase sbase)
sbase
- PluginSBasepublic void clear()
public java.util.ArrayList getArray()