public interface LCCollection extends List
Modifier and Type | Field and Description |
---|---|
static int |
BITDefault |
static int |
BITSubset |
static int |
BITTransient
Transient bit in flag word.
|
Modifier and Type | Method and Description |
---|---|
void |
addElement(LCObject obj)
Adds the given element to (end of) the collection.
|
LCObject |
getElementAt(int index)
Returns pointer to element at index - no range check, use getNumberOfEntries().
|
int |
getFlag()
Returns flag word for collection.
|
int |
getNumberOfElements()
Returns the number of elements in the collection.
|
LCParameters |
getParameters()
Parameters defined for this collection.
|
String |
getTypeName()
Returns the type name of the collection - valid names are defined in LCIO.
|
boolean |
isDefault()
True if collection is the default collection for the given type.
|
boolean |
isSubset()
True if the collection holds a subset of objects from other collections.
|
boolean |
isTransient()
True if collection is transient, i.e.
|
void |
removeElementAt(int i)
Removes the i-th element from the collection.
|
void |
setFlag(int flag)
Set the flag word.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
static final int BITTransient
static final int BITDefault
static final int BITSubset
int getNumberOfElements()
String getTypeName()
LCObject getElementAt(int index)
int getFlag()
isTransient()
boolean isTransient()
boolean isDefault()
boolean isSubset()
void addElement(LCObject obj) throws ReadOnlyException
ReadOnlyException
void removeElementAt(int i) throws ReadOnlyException
ReadOnlyException
void setFlag(int flag)
LCParameters getParameters()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics