Package org.openquark.cal.runtime

Examples of org.openquark.cal.runtime.Cleanable


     */
    public final void registerCleanable(final CalFunction /* ()->() */cleanupFunction) {
        if (cleanupFunction == null) {
            throw new NullPointerException();
        }
        registerCleanable(new Cleanable() {
            public void cleanup() {
                // Invoke the CAL cleanup function.
                // The argument value will be ingored anyway.
                cleanupFunction.evaluate(UnitValue.UNIT);
            }
View Full Code Here

TOP

Related Classes of org.openquark.cal.runtime.Cleanable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.