public abstract class SerializableObjectArrayImpl<K>
extends java.lang.Object
implements org.processmining.basicutils.models.ObjectArray<K>, java.io.Serializable
Constructor and Description |
---|
SerializableObjectArrayImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addElement(int index,
K element)
Add the element at the specific index
|
int |
addElement(K element)
Add the element to the array
|
K |
getElement(int index)
Return the element at the specific index
|
int |
getSize() |
void |
importFromStream(org.processmining.framework.plugin.PluginContext context,
java.io.InputStream input,
java.lang.String parent,
org.processmining.framework.abstractplugins.AbstractImportPlugin importer) |
void |
init()
Initializes the object array.
|
void |
removeElement(int index)
Remove the element at the specific index
|
int |
removeElement(K element)
Remove the element from the array
|
protected java.util.List<K> list
public void init()
org.processmining.basicutils.models.ObjectArray
init
in interface org.processmining.basicutils.models.ObjectArray<K>
public int addElement(K element)
org.processmining.basicutils.models.ObjectArray
addElement
in interface org.processmining.basicutils.models.ObjectArray<K>
public int removeElement(K element)
org.processmining.basicutils.models.ObjectArray
removeElement
in interface org.processmining.basicutils.models.ObjectArray<K>
public void addElement(int index, K element)
org.processmining.basicutils.models.ObjectArray
addElement
in interface org.processmining.basicutils.models.ObjectArray<K>
public void removeElement(int index)
org.processmining.basicutils.models.ObjectArray
removeElement
in interface org.processmining.basicutils.models.ObjectArray<K>
public K getElement(int index)
org.processmining.basicutils.models.ObjectArray
getElement
in interface org.processmining.basicutils.models.ObjectArray<K>
public int getSize()
getSize
in interface org.processmining.basicutils.models.ObjectArray<K>
public void importFromStream(org.processmining.framework.plugin.PluginContext context, java.io.InputStream input, java.lang.String parent, org.processmining.framework.abstractplugins.AbstractImportPlugin importer) throws java.lang.Exception
java.lang.Exception