mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 08:59:01 +00:00
Added state pattern sample
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.iluwatar;
|
||||
|
||||
public interface State {
|
||||
|
||||
void onEnterState();
|
||||
|
||||
void observe();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user