public class LogStream
extends java.util.LinkedList<org.deckfour.xes.model.XTrace>
| Constructor and Description |
|---|
LogStream()
Basic stream constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculateStatistics()
This method should be called in order to populate the minimum/maximum
time between two activities and for calculating the total duration time
of the log.
|
java.util.Date |
getFirstExecutionTime()
This method returns the
Date of the first execution |
java.util.Date |
getLastExecutionTime()
This method returns the
Date of the last execution |
long |
getMaxTimeBetweenActivities()
This method returns the maximum time (as milliseconds) between all
couples of activities
|
long |
getMinTimeBetweenActivities()
This method returns the minimum time (as milliseconds) between all
couples of activities
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic LogStream()
calculateStatistics() should be called.public void calculateStatistics()
public long getMinTimeBetweenActivities()
public long getMaxTimeBetweenActivities()
public java.util.Date getFirstExecutionTime()
Date of the first executionpublic java.util.Date getLastExecutionTime()
Date of the last execution