public class TimeSlotTable<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TimeSlotTable.BoundaryPoint |
static class |
TimeSlotTable.TimeSlot<T> |
| Constructor and Description |
|---|
TimeSlotTable() |
| Modifier and Type | Method and Description |
|---|---|
UUID |
add(long start,
long end,
T data) |
UUID |
get(T data) |
List<List<TimeSlotTable.TimeSlot<T>>> |
getTimeSlotsAsGrid() |
List<List<TimeSlotTable.TimeSlot<T>>> |
getTimeSlotsAsGrid(long start,
long end) |
UUID |
remove(long start,
long end) |
void |
remove(TimeSlotTable.TimeSlot<T> timeSlot) |
void |
remove(UUID uuid) |
void |
update(UUID uuid,
T newData) |
public void remove(TimeSlotTable.TimeSlot<T> timeSlot)
public void remove(UUID uuid)
public UUID remove(long start, long end)
public List<List<TimeSlotTable.TimeSlot<T>>> getTimeSlotsAsGrid()
public List<List<TimeSlotTable.TimeSlot<T>>> getTimeSlotsAsGrid(long start, long end)
Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.