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

com.github.stonelion.promise.Promises Maven / Gradle / Ivy

The newest version!
package com.github.stonelion.promise;

import javax.annotation.Nonnull;

public class Promises {

    @Nonnull
    public static  Promise newPromise(PromiseCall promiseCall) {
        if (promiseCall == null) {
            throw new NullPointerException();
        }

        return new PromiseImpl().setPromiseCall(promiseCall);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy