@Namespace(value="cv::dnn") @Properties(inherit=opencv_dnn.class) public class Dict extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Dict()
Default native constructor.
|
Dict(long size)
Native array allocator.
|
Dict(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
erase(BytePointer key)
Erase \p key from the dictionary.
|
void |
erase(String key) |
DictValue |
get(BytePointer key)
If the \p key in the dictionary then returns its value, else an error will be generated.
|
DictValue |
get(String key) |
boolean |
has(BytePointer key)
Checks a presence of the \p key in the dictionary.
|
boolean |
has(String key) |
Dict |
position(long position) |
DictValue |
ptr(BytePointer key)
If the \p key in the dictionary then returns pointer to its value, else returns NULL.
|
DictValue |
ptr(String key) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public Dict()
public Dict(long size)
Pointer.position(long)
.public Dict(Pointer p)
Pointer.Pointer(Pointer)
.@Cast(value="bool") public boolean has(@opencv_core.Str BytePointer key)
@Cast(value="bool") public boolean has(@opencv_core.Str String key)
public DictValue ptr(@opencv_core.Str BytePointer key)
public DictValue ptr(@opencv_core.Str String key)
@Const @ByRef public DictValue get(@opencv_core.Str BytePointer key)
@Const @ByRef public DictValue get(@opencv_core.Str String key)
public void erase(@opencv_core.Str BytePointer key)
public void erase(@opencv_core.Str String key)
Copyright © 2020. All rights reserved.