37 lines
651 B
Java
37 lines
651 B
Java
|
|
public class Abschluss extends Baumelement
|
|
{
|
|
// Attribute
|
|
|
|
/**
|
|
* Konstruktor für Objekte der Klasse Abschluss
|
|
*/
|
|
public Abschluss()
|
|
{
|
|
}
|
|
|
|
public Baumelement einfügen(Datenelement datenNeu) {
|
|
return new Knoten(datenNeu);
|
|
}
|
|
|
|
public Datenelement Suche(String suche){
|
|
System.err.println("[404]Not found");
|
|
return null;
|
|
}
|
|
public int HöheGeben(){
|
|
return 0;
|
|
}
|
|
|
|
public boolean IstVorhanden(String Testwort){
|
|
return false;
|
|
}
|
|
|
|
public int TiefeGeben(String suche){
|
|
System.err.println("[404]Not found");
|
|
return 0;
|
|
}
|
|
|
|
|
|
|
|
}
|