Interface mjr.util.Command
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface mjr.util.Command

public interface Command
extends Object
A generic command interface. Encapsulates a method as an object; useful for pattern programming implementations like Visitor, State, or (of course) Command.

Method Index

 o execute(Object)
Calls the method, passing in any client data needed, returning any data needed.

Methods

 o execute
  public abstract Object execute(Object o) throws Throwable
Calls the method, passing in any client data needed, returning any data needed. Casts are required to turn Objects into something useful.

All Packages  Class Hierarchy  This Package  Previous  Next  Index