|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.cs.algs4.growingtree.demos.BSTSearch<P>
public class BSTSearch<P extends NodeProperties>
| Constructor Summary | |
|---|---|
BSTSearch()
|
|
| Method Summary | |
|---|---|
INode<P> |
doSearch(ISearchingNode<P> root,
java.lang.Comparable<INode<P>> keyCompare)
|
IAlgorithmNode<P> |
search(ISearchingNode<P> root,
java.lang.Comparable<INode<P>> keyCompare)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BSTSearch()
| Method Detail |
|---|
public IAlgorithmNode<P> search(ISearchingNode<P> root,
java.lang.Comparable<INode<P>> keyCompare)
public INode<P> doSearch(ISearchingNode<P> root,
java.lang.Comparable<INode<P>> keyCompare)
doSearch in interface ISearchOperator<P extends NodeProperties>root - The root of the treekeyCompare - Comparable representing the key being sought
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||