void resetTimelineStateList() { int i = _timelineStateList.size(); while (i-- > 0) { TimelineState.returnObject(_timelineStateList.get(i)); } _timelineStateList.clear(); i = _slotTimelineStateList.size(); while (i-- > 0) { SlotTimelineState.returnObject(_slotTimelineStateList.get(i)); } _slotTimelineStateList.clear(); }
private void removeSlotTimelineState(SlotTimelineState timelineState) { _slotTimelineStateList.remove(timelineState); SlotTimelineState.returnObject(timelineState); }