X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=src%2Ftim%2Fprune%2Ffunction%2FCancellable.java;fp=src%2Ftim%2Fprune%2Ffunction%2FCancellable.java;h=ad5147445c97157f20065fde0088d54f2ba1391d;hp=0000000000000000000000000000000000000000;hb=ce6f2161b8596f7018d6a76bff79bc9e571f35fd;hpb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465 diff --git a/src/tim/prune/function/Cancellable.java b/src/tim/prune/function/Cancellable.java new file mode 100644 index 0000000..ad51474 --- /dev/null +++ b/src/tim/prune/function/Cancellable.java @@ -0,0 +1,12 @@ +package tim.prune.function; + +/** + * Interface implemented by functions which can be cancelled + */ +public interface Cancellable +{ + /** + * Cancel the function + */ + public void cancel(); +}