From 19c1825b81e9add833077260bb937416268a1bf6 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Sun, 28 Feb 2010 16:41:24 +0100 Subject: introduced (package private) Disposable interface for forward compatiblility with JDK7's ARM blocks. CLResource extends Disposable. --- src/com/mbien/opencl/CLResource.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/com/mbien/opencl/CLResource.java') diff --git a/src/com/mbien/opencl/CLResource.java b/src/com/mbien/opencl/CLResource.java index 4f0d9d01..8996b40e 100644 --- a/src/com/mbien/opencl/CLResource.java +++ b/src/com/mbien/opencl/CLResource.java @@ -4,11 +4,17 @@ package com.mbien.opencl; * Releasable OpenCL resource. * @author Michael Bien */ -public interface CLResource { +public interface CLResource extends Disposable { /** * Releases the OpenCL resource. */ public void release(); + /** + * Calls {@link #release()}; + * @see #release() + */ + @Override public void close(); + } -- cgit v1.2.3