implemented composite pattern

This commit is contained in:
2024-06-07 15:25:15 +02:00
parent 41743095bd
commit 753d5e2780
12 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package uebung08.doc;
public interface TextComponent {
public int countWords();
public <T> boolean accept(Visitor<T> visitor);
}