implemented composite pattern
This commit is contained in:
7
src/uebung08/doc/TextComponent.java
Normal file
7
src/uebung08/doc/TextComponent.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package uebung08.doc;
|
||||
|
||||
public interface TextComponent {
|
||||
public int countWords();
|
||||
|
||||
public <T> boolean accept(Visitor<T> visitor);
|
||||
}
|
||||
Reference in New Issue
Block a user