- * Interface for constraints that support digests. Digest is a small data object - * with final fields, typically primitive, used for processing (such as - * rendering or other very frequent operations). - *
- *- * Taking a digest is expensive, so if it needs to be done often and the value - * changes are deterministic (such as, triggered by timing event or screen - * resize), it's useful to cache the last digest and reuse it until such an - * event occurs again. - *
- *- * Implementing class typically needs a field to store the last digest, a flag - * that digest caching is enabled, and a flag that a digest is dirty. - *
- * - * @author Ondřej Hruška (MightyPork) - * @param- * Toggle digest caching. - *
- *
- * To trigger update of the cache, call the poll()
method.
- *
- * A Num cache. - *
- *- * Values are held in a caching VectVar, and digest caching is enabled by - * default. - *
- * - * @author Ondřej Hruška (MightyPork) - */ -public abstract class AbstractNumCache extends NumAdapter implements ConstraintCache- * A rect cache. - *
- *- * Values are held in a caching VectVar, and digest caching is enabled by - * default. - *
- * - * @author Ondřej Hruška (MightyPork) - */ -public abstract class AbstractRectCache extends RectAdapter implements ConstraintCache- * A vect cache. - *
- *- * Values are held in a caching VectVar, and digest caching is enabled by - * default. - *
- * - * @author Ondřej Hruška (MightyPork) - */ -public abstract class AbstractVectCache extends VectAdapter implements ConstraintCache