public class IntervalNode extends RBNode
Constructor and Description |
---|
IntervalNode(Interval interval,
java.util.Comparator endpointComparator,
java.lang.Object data) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
computeMaxEndpoint() |
java.lang.Object |
computeMinEndpoint() |
void |
copyFrom(RBNode arg)
Must copy all user-defined fields from the given node.
|
Interval |
getInterval() |
java.lang.Object |
getMaxEndpoint() |
java.lang.Object |
getMinEndpoint() |
java.lang.String |
toString() |
boolean |
update()
This is called by the base RBTree's insertion and deletion
methods when necessary.
|
public IntervalNode(Interval interval, java.util.Comparator endpointComparator, java.lang.Object data)
public void copyFrom(RBNode arg)
RBNode
public Interval getInterval()
public java.lang.Object getMinEndpoint()
public java.lang.Object getMaxEndpoint()
public boolean update()
RBNode
public java.lang.Object computeMinEndpoint()
public java.lang.Object computeMaxEndpoint()
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.