Back to project page droidkit-engines.
The source code is released under:
MIT License
If you think the Android project droidkit-engines 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 com.droidkit.engine.event; /*from w w w . j av a 2 s . c o m*/ public class State { private int eventType; private StateInitValue stateInitValue; private boolean isStorageEnabled; public State(final int eventType, final StateInitValue stateInitValue) { this.eventType = eventType; this.stateInitValue = stateInitValue; } public void enableStorage() { isStorageEnabled = true; } public boolean isStorageEnabled() { return isStorageEnabled; } public StateInitValue getStateInitValue() { return stateInitValue; } }