public class TimelineGeneratorServlet
extends java.lang.Object
DayInTimeline
from list of
Event
-objects.Constructor and Description |
---|
TimelineGeneratorServlet(java.util.List<Event> events)
Calculates the individual part of different user groups at all
Event -times. |
Modifier and Type | Method and Description |
---|---|
static java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> |
buildStockTimelines(java.util.List<Manifestation> documents)
Calculates the overall stock for a list of
Document objects. |
java.util.List<DayInTimeline> |
getTimeline()
returns the timeline as list of
DayInTimeline objects. |
public TimelineGeneratorServlet(java.util.List<Event> events)
Event
-times.events
- a list of Event-objects.public static java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> buildStockTimelines(java.util.List<Manifestation> documents)
Document
objects.documents
- a list of Document-objects.public java.util.List<DayInTimeline> getTimeline()
DayInTimeline
objects.