diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-03-27 23:26:37 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2017-03-27 23:26:37 -0400 |
| commit | ab727513337a4729c57220367d67eaa8bc6ce6ff (patch) | |
| tree | 8b95e4157915392f28c7ad8c3f525349e3267189 /BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java | |
| parent | 9cc1e73debc0385a0ab4e880276be502ce2b9a0e (diff) | |
Continue work on FDS
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java b/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java index ddbb743..bb64cdf 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java +++ b/BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java @@ -1,7 +1,5 @@ package bjc.utils.cli.fds; -import bjc.utils.ioutils.BlockReader; - /** * A command attached to an FDS interface. * @@ -10,17 +8,13 @@ import bjc.utils.ioutils.BlockReader; * @param <S> * The state type of the interface. */ +@FunctionalInterface public interface FDSCommand<S> { /** * Run this command. * * @param state * The current FDS state. - * - * @param input - * The source for data input. - * - * @return The new state, after running the command. */ - S run(S state, BlockReader input); + void run(FDSState<S> state); } |
