mirror of
https://github.com/openbabel/openbabel.git
synced 2026-08-02 01:27:55 -05:00
Updated with automated Java generation and SWIG 1.3.30.
This commit is contained in:
+10
-10
@@ -1,6 +1,6 @@
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.29
|
||||
* Version 1.3.30
|
||||
*
|
||||
* Do not make changes to this file unless you know what you are doing--modify
|
||||
* the SWIG interface file instead.
|
||||
@@ -24,7 +24,7 @@ public class vectorMol {
|
||||
delete();
|
||||
}
|
||||
|
||||
public void delete() {
|
||||
public synchronized void delete() {
|
||||
if(swigCPtr != 0 && swigCMemOwn) {
|
||||
swigCMemOwn = false;
|
||||
net.sourceforge.openbabelJNI.delete_vectorMol(swigCPtr);
|
||||
@@ -41,35 +41,35 @@ public class vectorMol {
|
||||
}
|
||||
|
||||
public long size() {
|
||||
return net.sourceforge.openbabelJNI.vectorMol_size(swigCPtr);
|
||||
return net.sourceforge.openbabelJNI.vectorMol_size(swigCPtr, this);
|
||||
}
|
||||
|
||||
public long capacity() {
|
||||
return net.sourceforge.openbabelJNI.vectorMol_capacity(swigCPtr);
|
||||
return net.sourceforge.openbabelJNI.vectorMol_capacity(swigCPtr, this);
|
||||
}
|
||||
|
||||
public void reserve(long n) {
|
||||
net.sourceforge.openbabelJNI.vectorMol_reserve(swigCPtr, n);
|
||||
net.sourceforge.openbabelJNI.vectorMol_reserve(swigCPtr, this, n);
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return net.sourceforge.openbabelJNI.vectorMol_isEmpty(swigCPtr);
|
||||
return net.sourceforge.openbabelJNI.vectorMol_isEmpty(swigCPtr, this);
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
net.sourceforge.openbabelJNI.vectorMol_clear(swigCPtr);
|
||||
net.sourceforge.openbabelJNI.vectorMol_clear(swigCPtr, this);
|
||||
}
|
||||
|
||||
public void add(OBMol x) {
|
||||
net.sourceforge.openbabelJNI.vectorMol_add(swigCPtr, OBMol.getCPtr(x));
|
||||
net.sourceforge.openbabelJNI.vectorMol_add(swigCPtr, this, OBMol.getCPtr(x), x);
|
||||
}
|
||||
|
||||
public OBMol get(int i) {
|
||||
return new OBMol(net.sourceforge.openbabelJNI.vectorMol_get(swigCPtr, i), false);
|
||||
return new OBMol(net.sourceforge.openbabelJNI.vectorMol_get(swigCPtr, this, i), false);
|
||||
}
|
||||
|
||||
public void set(int i, OBMol x) {
|
||||
net.sourceforge.openbabelJNI.vectorMol_set(swigCPtr, i, OBMol.getCPtr(x));
|
||||
net.sourceforge.openbabelJNI.vectorMol_set(swigCPtr, this, i, OBMol.getCPtr(x), x);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user