28import org.direct_bt.BTObject;
32 private final int hashValue;
34 static int compHash(
final String a,
final String b) {
37 return ((hash << 5) - hash) + b.hashCode();
39 static int compHash(
final int a,
final int b) {
41 final int hash = 31 + a;
42 return ((hash << 5) - hash) + b;
45 protected DBTObject(
final long nativeInstance,
final int hashValue)
47 super(nativeInstance);
48 this.hashValue = hashValue;
52 public abstract boolean equals(
final Object obj);
66 public synchronized void close() {
Java counterpart to C++ jau::JavaUplink.
final void delete()
Deletes the nativeInstance in the following order.
DBTObject(final long nativeInstance, final int hashValue)
synchronized void close()
Release the native memory associated with this object The object should not be used following a call ...
abstract boolean equals(final Object obj)