blob: 2cd1784ba0e232f05b2e7a1c2098cd98ba1ab5ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package com.jogamp.opencl;
/*
* JDK7 ARM proposal, cypied to be forward compatible with java 7 automatic resource managment blocks.
* @author Michael Bien
*/
//package java.lang;
/**
* A resource that must be closed when it is no longer needed.
*
* @param X the type of exception thrown by the close method (or
* {@link RuntimeException} if the close method is not permitted
* to throw any checked exceptions).
*/
/*public*/ interface Disposable<X extends Throwable> {
void close() throws X;
}
|