edu.princeton.cs.algs4.growingtree.interfaces
Interface INode<P extends NodeProperties>
- Type Parameters:
P
- The NodeProperties
class (or subclass) that these
nodes are parameterized by.
- All Superinterfaces:
- java.lang.Comparable<INode<P>>
- All Known Subinterfaces:
- IAlgorithmNode<P>, IDeletingNode<P>, IInsertingNode<P>, ISearchingNode<P>
- All Known Implementing Classes:
- ShadowNode
public interface INode<P extends NodeProperties>
- extends java.lang.Comparable<INode<P>>
This is the base interface for all the interfaces that client code is exposed to
for manipulating the tree. Currently, the only class that implements this interface
is ShadowNode
, but casting to ShadowNode
should never be
necessary and is strongly discouraged.
- Author:
- Josh Israel
- See Also:
NodeProperties
,
ShadowNode
Methods inherited from interface java.lang.Comparable |
compareTo |
getNodeProperties
P getNodeProperties()
getLogger
IExperimentLogger<P> getLogger()