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

io.descoped.dc.api.node.Base Maven / Gradle / Ivy

The newest version!
package io.descoped.dc.api.node;

import java.util.concurrent.atomic.AtomicBoolean;
import java.util.function.Consumer;

// used by all simple nodes
public interface Base {

    boolean instanceOf(Class nodeClass);

     R cast(Class nodeClass);

     void given(Class isInstanceOfNodeClass, Consumer then);

     void given(Class isInstanceOfNodeClass, AtomicBoolean andIfNotHandled, Consumer then);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy