|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<LogEvent>
org.processmining.framework.log.LogEvents
public class LogEvents
A list of LogEvent
objects.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
LogEvents()
Constructor for an empty list. |
Method Summary | |
---|---|
LogEvent |
findLogEvent(java.lang.String name,
java.lang.String type)
Find a LogEvent object by its name and type. |
int |
findLogEventNumber(java.lang.String name,
java.lang.String type)
Find the index of a given LogEvent object in the list. |
LogEvent |
getEvent(int i)
Returns the item at the given index. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public LogEvents()
Method Detail |
---|
public LogEvent findLogEvent(java.lang.String name, java.lang.String type)
LogEvent
object by its name and type.
Returns null if there is no such LogEvent
in the list.
name
- the name of the LogEvent
to findtype
- the type of the LogEvent
to find
LogEvent
object if it is found, null otherwisepublic int findLogEventNumber(java.lang.String name, java.lang.String type)
LogEvent
object in the list.
Returns -1 if there is no such LogEvent
in the list.
name
- the name of the LogEvent
to findtype
- the type of the LogEvent
to find
LogEvent
object in the list if it is found, -1 otherwisepublic LogEvent getEvent(int i)
i
- the index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |