mistake
This commit is contained in:
parent
ee4e214f8e
commit
35285b61bf
@ -7,6 +7,6 @@ package me.bvn13.fsm;
|
|||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface StateHandler<T extends Fsm> {
|
public interface StateHandler<T extends Fsm> {
|
||||||
|
|
||||||
void handle(T fms);
|
void handle(T fsm);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,6 @@ package me.bvn13.fsm;
|
|||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface StateProcessor<T extends Fsm, E> {
|
public interface StateProcessor<T extends Fsm, E> {
|
||||||
|
|
||||||
void process(T fms, E event);
|
void process(T fsm, E event);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@ import me.bvn13.fsm.StateHandler;
|
|||||||
|
|
||||||
public class DummyHandler<T extends Fsm> implements StateHandler<T> {
|
public class DummyHandler<T extends Fsm> implements StateHandler<T> {
|
||||||
@Override
|
@Override
|
||||||
public void handle(T fms) {
|
public void handle(T fsm) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@ import me.bvn13.fsm.StateProcessor;
|
|||||||
|
|
||||||
public class DummyProcessor<T extends Fsm,E> implements StateProcessor<T,E> {
|
public class DummyProcessor<T extends Fsm,E> implements StateProcessor<T,E> {
|
||||||
@Override
|
@Override
|
||||||
public void process(T fms, E event) {
|
public void process(T fsm, E event) {
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user