Package | Description |
---|---|
org.bytedeco.javacpp |
Contains the main set of classes for JavaCPP at runtime.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
Pointer.CustomDeallocator
A
Pointer.Deallocator that calls, during garbage collection, a method with signature
static void deallocate() from the Pointer object passed to the constructor
and that accepts it as argument. |
(package private) static class |
Pointer.DeallocatorReference
A subclass of
PhantomReference that also acts as a linked
list to keep their references alive until they get garbage collected. |
protected static class |
Pointer.NativeDeallocator
A
Pointer.Deallocator that calls, during garbage collection, a native function. |
(package private) static class |
Pointer.ProxyDeallocator
A
Pointer.Deallocator that keeps and uses a strong reference to a Buffer or another Pointer. |
Modifier and Type | Field and Description |
---|---|
private Pointer.Deallocator |
Pointer.deallocator
The deallocator associated with this Pointer that should be called on garbage collection.
|
(package private) Pointer.Deallocator |
Pointer.DeallocatorReference.deallocator |
private Pointer.Deallocator |
Pointer.deallocator
The deallocator associated with this Pointer that should be called on garbage collection.
|
(package private) Pointer.Deallocator |
Pointer.DeallocatorReference.deallocator |
Modifier and Type | Method and Description |
---|---|
protected Pointer.Deallocator |
Pointer.deallocator()
Returns
Pointer.deallocator . |
protected Pointer.Deallocator |
Pointer.deallocator()
Returns
Pointer.deallocator . |
Modifier and Type | Method and Description |
---|---|
protected <P extends Pointer> |
Pointer.deallocator(Pointer.Deallocator deallocator)
Sets the deallocator and returns this.
|
protected <P extends Pointer> |
Pointer.deallocator(Pointer.Deallocator deallocator)
Sets the deallocator and returns this.
|
Constructor and Description |
---|
DeallocatorReference(Pointer p,
Pointer.Deallocator deallocator) |
DeallocatorReference(Pointer p,
Pointer.Deallocator deallocator) |
Copyright © 2023. All rights reserved.