| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/wshackle/java4cpp/java4cpp-1.1/NativeDoubleOp.java | [Back] [Original] |
public class NativeDoubleOp implements java.util.function.DoubleUnaryOperator, AutoCloseable{
public NativeDoubleOp() {
}
private long nativeAddress=0;
private boolean nativeDeleteOnClose=false;
protected NativeDoubleOp(final long nativeAddress) {
this.nativeAddress = nativeAddress;
}
private native void nativeDelete();
@Override
public synchronized void close() {
nativeDelete();
}
protected void finalizer() {
close();
}
@Override
native public double applyAsDouble(double param0);
}
| Web Proxy Viewer | New URL | Original Page |