All Downloads are FREE. Search and download functionalities are using the official Maven repository.

icepick.Action Maven / Gradle / Ivy

package icepick;

enum Action {
  SAVE {
    @Override  T invoke(StateHelper helper, Object target, T state) {
      return helper.saveInstanceState(target, state);
    }
  },
  RESTORE {
    @Override  T invoke(StateHelper helper, Object target, T state) {
      return helper.restoreInstanceState(target, state);
    }
  };

  abstract  T invoke(StateHelper inject, Object target, T state);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy