Sync Decorator to Java 25: H6 file labels, fix Main.java JDK-output mismatch, README mapping
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
package decorator;
|
||||
|
||||
/**
|
||||
* Component interface — defines what all text processors do.
|
||||
* Both the concrete processor AND all decorators implement this.
|
||||
* This is what makes them stackable.
|
||||
* Component — defines what all text processors do.
|
||||
* Both the base implementation AND every decorator implement this.
|
||||
* Sharing this type is what makes decorators stackable.
|
||||
*/
|
||||
public interface TextProcessor {
|
||||
String process(String text);
|
||||
|
||||
Reference in New Issue
Block a user