class BinaryTreeLeaf extends BinaryTreeNode
| Modifier and Type | Field and Description |
|---|---|
private long |
end
Ende des Intervalls
|
private long |
start
Start des Intervalls
|
| Constructor and Description |
|---|
BinaryTreeLeaf(Tuple<java.lang.Long,java.lang.Long> period)
Erzeugt ein Blatt, das ein Zeitintervall speichert.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(long timeStamp)
Prüft, ob ein Zeitstempel in den gespeicherten Intervallen liegt.
|
long |
getMaxTimeStamp()
Liefert den größten Zeitstempel zurück, der in diesem Knoten gespeichert ist.
|
java.lang.String |
toString() |
createTreepublic BinaryTreeLeaf(Tuple<java.lang.Long,java.lang.Long> period)
period - Zeitintervallpublic boolean contains(long timeStamp)
BinaryTreeNodecontains in class BinaryTreeNodetimeStamp - Zeitstempel.true, falls der Zeitstempel innerhalb der gespeicherten Zeitintervalle liegt. false sonst.BinaryTreeNode.contains(long)public long getMaxTimeStamp()
BinaryTreeNodegetMaxTimeStamp in class BinaryTreeNodeBinaryTreeNode.getMaxTimeStamp()public java.lang.String toString()
toString in class BinaryTreeNodeObject.toString()