public class CoarseAvailableData
extends java.lang.Object
Constructor and Description |
---|
CoarseAvailableData() |
Modifier and Type | Method and Description |
---|---|
boolean |
anyChannelOverlaps(StationId station,
MicroSecondTimeRange range) |
void |
append(ChannelId chan,
MicroSecondTimeRange range) |
java.util.List<MicroSecondTimeRange> |
get(ChannelId chan)
returns null if no availability is cached for this chan
|
boolean |
isCached(ChannelId chan) |
boolean |
overlaps(ChannelId chan,
MicroSecondTimeRange range) |
void |
update(ChannelId chan,
java.util.List<MicroSecondTimeRange> rangeList) |
public void append(ChannelId chan, MicroSecondTimeRange range)
public void update(ChannelId chan, java.util.List<MicroSecondTimeRange> rangeList)
public java.util.List<MicroSecondTimeRange> get(ChannelId chan)
chan
- public boolean isCached(ChannelId chan)
public boolean overlaps(ChannelId chan, MicroSecondTimeRange range)
public boolean anyChannelOverlaps(StationId station, MicroSecondTimeRange range)