public class ScheduleRule extends Object
Modifier and Type | Field and Description |
---|---|
private List<ScheduleRuleEntry> |
entries |
private int |
prioritizedEntryIndex |
Constructor and Description |
---|
ScheduleRule() |
Modifier and Type | Method and Description |
---|---|
ScheduleRule |
add(int startTime,
float priority) |
float |
getPriority(int time) |
private void |
sort() |
private final List<ScheduleRuleEntry> entries
private int prioritizedEntryIndex
public ScheduleRule add(int startTime, float priority)
private void sort()
public float getPriority(int time)