package waymaker.gen; // Copyright © 2015 Michael Allan. Licence MIT. import android.os.Parcel; /** A {@linkplain Stator stator} that depends on additional kit during both saving and restoration. * * @param The type of thing for which state is persisted. * @param The type of saving kit. * @param The type of restoration kit. * * @see Recreating an Activity */ public interface KittedStatorSR { // - K i t t e d - S t a t o r - S - R -------------------------------------------------------------- /** Saves state from the thing, writing out to the parcel. */ public void save( T th, Parcel out, S kit ); /** Restores state to the thing, reading in from the parcel. */ public void restore( T th, Parcel in, R kit ); }