From ab727513337a4729c57220367d67eaa8bc6ce6ff Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Mon, 27 Mar 2017 23:26:37 -0400 Subject: Continue work on FDS --- BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/cli/fds/FDSCommand.java') 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 * The state type of the interface. */ +@FunctionalInterface public interface FDSCommand { /** * 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 state); } -- cgit v1.2.3