Skip to content

Package: Procedure

Procedure

Coverage

1: package cz.cvut.kbss.jopa.utils;
2:
3: /**
4: * Generic procedure taking no arguments and returning no value.
5: * <p>
6: * Note: This is basically the same as {@link Runnable}, but the name corresponds better to the purpose of the interface
7: * and doesn't get confused with threads.
8: */
9: @FunctionalInterface
10: public interface Procedure {
11:
12: void execute();
13: }