X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2FCancellable.java;fp=tim%2Fprune%2Ffunction%2FCancellable.java;h=ad5147445c97157f20065fde0088d54f2ba1391d;hb=649c5da6ee1bbc590699e11a92316ece2ea8512d;hp=0000000000000000000000000000000000000000;hpb=eebbb64b5d63f9eea43a0dff908c30361a376768;p=GpsPrune.git diff --git a/tim/prune/function/Cancellable.java b/tim/prune/function/Cancellable.java new file mode 100644 index 0000000..ad51474 --- /dev/null +++ b/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(); +}