XMT-O Reference Software

xmto2xmta.timegraph
Class InstanceTimeList

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.TreeMap
              |
              +--xmto2xmta.timegraph.InstanceTimeList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable, java.util.SortedMap

public class InstanceTimeList
extends java.util.TreeMap

An ordered list of instance times.

History:

See Also:
Serialized Form

Inner classes inherited from class java.util.TreeMap
java.util.TreeMap.Entry
 
Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Fields inherited from class java.util.TreeMap
BLACK, comparator, ENTRIES, entrySet, KEYS, keySet, modCount, RED, root, serialVersionUID, size, values, VALUES
 
Constructor Summary
InstanceTimeList()
           
 
Method Summary
 Time getNextResolvedTime(Time from)
           
 Time getNextResolvedTimeAfter(Time from)
           
 Time getNextTime(Time from)
           
 Time getNextTimeAfter(Time from)
           
 boolean hasResolvedTime(Time from)
           
 boolean hasResolvedTimeAfter(Time from)
           
 boolean hasTime(Time from)
           
 boolean hasTimeAfter(Time from)
           
 void putTime(Time time, java.lang.Object condition)
           
 void removeTime(Time time, java.lang.Object condition)
           
 
Methods inherited from class java.util.TreeMap
addAllForTreeSet, buildFromSorted, buildFromSorted, clear, clone, colorOf, comparator, compare, computeRedLevel, containsKey, containsValue, decrementSize, deleteEntry, entrySet, firstEntry, firstKey, fixAfterDeletion, fixAfterInsertion, get, getCeilEntry, getEntry, getPrecedingEntry, headMap, incrementSize, key, keySet, lastEntry, lastKey, leftOf, parentOf, put, putAll, readObject, readTreeSet, remove, rightOf, rotateLeft, rotateRight, setColor, size, subMap, successor, swapPosition, tailMap, valEquals, values, valueSearchNonNull, valueSearchNull, writeObject
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
 
Methods inherited from class java.lang.Object
, finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode, isEmpty
 

Constructor Detail

InstanceTimeList

public InstanceTimeList()
Method Detail

putTime

public void putTime(Time time,
                    java.lang.Object condition)

removeTime

public void removeTime(Time time,
                       java.lang.Object condition)

hasTime

public boolean hasTime(Time from)

hasResolvedTime

public boolean hasResolvedTime(Time from)

hasTimeAfter

public boolean hasTimeAfter(Time from)

hasResolvedTimeAfter

public boolean hasResolvedTimeAfter(Time from)

getNextTime

public Time getNextTime(Time from)

getNextTimeAfter

public Time getNextTimeAfter(Time from)

getNextResolvedTime

public Time getNextResolvedTime(Time from)

getNextResolvedTimeAfter

public Time getNextResolvedTimeAfter(Time from)

XMT-O Reference Software