Class SuchBaum

java.lang.Object
   |
   +----Baum
           |
           +----SuchBaum

public class SuchBaum
extends Baum
Implementation eines binaeren Suchbaums. Verwendet wird das Interface Compare, das zwei Objects miteinander vergleicht.


Variable Index

 o comp

Constructor Index

 o SuchBaum(Compare)

Method Index

 o delete(Object)
 o find(Object)
 o findMax()
 o insert(Object)
 o lookup(Object)

Variables

 o comp
 protected Compare comp

Constructors

 o SuchBaum
 public SuchBaum(Compare comp)

Methods

 o find
 private SuchBaum find(Object x)
 o lookup
 public Object lookup(Object x)
 o insert
 public boolean insert(Object x)
 o delete
 public boolean delete(Object x)
 o findMax
 private SuchBaum findMax()