| Modifier and Type | Field and Description |
|---|---|
| private long |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | btUnionFind(long cPtr, boolean cMemoryOwn)
Construct a new btUnionFind, normally you should not need this constructor it's intended for low-level usage. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected synchronized void | delete()
Overrides com. Deletes the bullet object this class encapsulates. |
| protected void | finalize()
Overrides com. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public int | |
| public int | |
| public void | |
| public static long | |
| public btElement | |
| public btElement | |
| public int | |
| public boolean | |
| protected void | |
| public void | |
| public void | |
| public void |
| swigCPtr | back to summary |
|---|---|
| private long swigCPtr | |
| btUnionFind | back to summary |
|---|---|
| protected btUnionFind(final String className, long cPtr, boolean cMemoryOwn) | |
| btUnionFind | back to summary |
|---|---|
| public btUnionFind(long cPtr, boolean cMemoryOwn) Construct a new btUnionFind, normally you should not need this constructor it's intended for low-level usage. | |
| btUnionFind | back to summary |
|---|---|
| public btUnionFind() | |
| allocate | back to summary |
|---|---|
| public void allocate(int N) | |
| delete | back to summary |
|---|---|
| protected synchronized void delete() Overrides com. Doc from com. Deletes the bullet object this class encapsulates. Do not call directly, instead use the
| |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides com. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the | |
| find | back to summary |
|---|---|
| public int find(int p, int q) | |
| find | back to summary |
|---|---|
| public int find(int x) | |
| Free | back to summary |
|---|---|
| public void Free() | |
| getCPtr | back to summary |
|---|---|
| public static long getCPtr(btUnionFind obj) | |
| getElement | back to summary |
|---|---|
| public btElement getElement(int index) | |
| getElementConst | back to summary |
|---|---|
| public btElement getElementConst(int index) | |
| getNumElements | back to summary |
|---|---|
| public int getNumElements() | |
| isRoot | back to summary |
|---|---|
| public boolean isRoot(int x) | |
| reset | back to summary |
|---|---|
| protected void reset(long cPtr, boolean cMemoryOwn) Overrides com.
| |
| reset | back to summary |
|---|---|
| public void reset(int N) | |
| sortIslands | back to summary |
|---|---|
| public void sortIslands() | |
| unite | back to summary |
|---|---|
| public void unite(int p, int q) | |