|
||||||||||
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>
edu.princeton.cs.algs4.growingtree.demos.SplayOperators.SplaySearch<P>
public class SplayOperators.SplaySearch<P extends NodeProperties>
Constructor Summary | |
---|---|
SplayOperators.SplaySearch()
|
Method Summary | |
---|---|
INode<P> |
doSearch(ISearchingNode<P> root,
java.lang.Comparable<INode<P>> keyCompare)
|
Methods inherited from class edu.princeton.cs.algs4.growingtree.demos.BSTSearch |
---|
search |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SplayOperators.SplaySearch()
Method Detail |
---|
public INode<P> doSearch(ISearchingNode<P> root, java.lang.Comparable<INode<P>> keyCompare)
doSearch
in interface ISearchOperator<P extends NodeProperties>
doSearch
in class BSTSearch<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 |