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

mdk_runtime.promise._ChainPromise Maven / Gradle / Ivy

There is a newer version: 2.0.37
Show newest version
/* Quark 1.0.452 run at 2016-11-10 18:39:58.222591 */
package mdk_runtime.promise;

public class _ChainPromise implements quark.UnaryCallable, io.datawire.quark.runtime.QObject {
    public static quark.reflect.Class mdk_runtime_promise__ChainPromise_ref = datawire_mdk_md.Root.mdk_runtime_promise__ChainPromise_md;
    public Promise _next;
    public _ChainPromise(Promise next) {
        (this)._next = next;
    }
    public Object call(Object arg) {
        Functions._fullfilPromise((this)._next, arg);
        return null;
    }
    public String _getClass() {
        return "mdk_runtime.promise._ChainPromise";
    }
    public Object _getField(String name) {
        if ((name)==("_next") || ((Object)(name) != null && ((Object) (name)).equals("_next"))) {
            return (this)._next;
        }
        return null;
    }
    public void _setField(String name, Object value) {
        if ((name)==("_next") || ((Object)(name) != null && ((Object) (name)).equals("_next"))) {
            (this)._next = (Promise) (value);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy