Package org.opennms.core.utils
Class TimeIntervalSequence
- java.lang.Object
-
- org.opennms.core.utils.AbstractTimeIntervalSequence<TimeInterval>
-
- org.opennms.core.utils.TimeIntervalSequence
-
public class TimeIntervalSequence extends AbstractTimeIntervalSequence<TimeInterval>
OwnedIntervalSequence class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description TimeIntervalSequence()
TimeIntervalSequence(TimeInterval interval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TimeInterval
createInterval(Date start, Date end)
createIntervalprotected TimeIntervalSequence
createTail(TimeInterval interval)
createTail-
Methods inherited from class org.opennms.core.utils.AbstractTimeIntervalSequence
addAll, addAll, addInterval, bound, bound, combineIntervals, getBounds, getEnd, getStart, iterator, removeAll, removeInterval, separateIntervals, toString
-
-
-
-
Constructor Detail
-
TimeIntervalSequence
public TimeIntervalSequence()
-
TimeIntervalSequence
public TimeIntervalSequence(TimeInterval interval)
-
-
Method Detail
-
createInterval
protected TimeInterval createInterval(Date start, Date end)
Description copied from class:AbstractTimeIntervalSequence
createInterval
- Specified by:
createInterval
in classAbstractTimeIntervalSequence<TimeInterval>
- Parameters:
start
- aDate
object.end
- aDate
object.- Returns:
- a
TimeInterval
object.
-
createTail
protected TimeIntervalSequence createTail(TimeInterval interval)
Description copied from class:AbstractTimeIntervalSequence
createTail
- Specified by:
createTail
in classAbstractTimeIntervalSequence<TimeInterval>
- Parameters:
interval
- aTimeInterval
object.- Returns:
- a
AbstractTimeIntervalSequence
object.
-
-