Files
GeordneterBinbaum/BinBaum.java

27 lines
436 B
Java
Raw Normal View History

2025-02-18 08:59:50 +01:00
public class BinBaum
{
// Attribute
Baumelement wurzel;
/**
* Konstruktor für Objekte der Klasse BinBaum
*/
public BinBaum()
{
this.wurzel = new Abschluss();
}
2025-02-18 22:14:32 +12:00
public void einfügen(Datenelement datenNeu_Deu_Eng) {
this.wurzel = this.wurzel.einfügen(datenNeu_Deu_Eng);
}
public Datenelement Suche(String suche){
return wurzel.Suche(suche);
}
2025-02-18 08:59:50 +01:00
}