Back to project page AndroSol.
The source code is released under:
MIT License
If you think the Android project AndroSol listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package lib.cards.utilities; /* ww w . j av a2s . c o m*/ public abstract class CommandImpl<TState> implements Command { private TState state; // State that can be persisted by the application, if necessary. public TState getState() { return state; } public void setState(TState state) { this.state = state; } // Does running this command result in the clearing of the undo stacks? @Override public boolean getClearsUndoStack() { return false; } // Re-invoke an action that has been undone. Default is to call Invoke // again. @Override public boolean reInvoke() { return invoke(); } }