Constructor and Description |
---|
Column() |
Modifier and Type | Method and Description |
---|---|
void |
add(A activity)
Adds the given activity to the cluster.
|
List<A> |
getActivities()
Returns all activities within the column.
|
boolean |
hasRoomFor(A activity,
Predicate<A> filter)
Checks whether the column has room for the given activity, meaning
whether the time interval occupied by the activity is currently being
used or not.
|
public void add(A activity)
activity
- the activity to addpublic boolean hasRoomFor(A activity, Predicate<A> filter)
activity
- the activity to placefilter
- a filter used for determining if the given activity is
relevant for conflict checks or notCopyright © 2020 Dirk Lemmermann Software & Consulting. All rights reserved.