fiftyone.devicedetection.hash.engine.onpremise.interop.swig.PropertyMetaDataCollectionSwig Maven / Gradle / Ivy
The newest version!
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package fiftyone.devicedetection.hash.engine.onpremise.interop.swig;
public class PropertyMetaDataCollectionSwig {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected PropertyMetaDataCollectionSwig(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(PropertyMetaDataCollectionSwig obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
DeviceDetectionHashEngineModuleJNI.delete_PropertyMetaDataCollectionSwig(swigCPtr);
}
swigCPtr = 0;
}
}
public PropertyMetaDataSwig getByKey(String key) {
long cPtr = DeviceDetectionHashEngineModuleJNI.PropertyMetaDataCollectionSwig_getByKey(swigCPtr, this, key);
return (cPtr == 0) ? null : new PropertyMetaDataSwig(cPtr, true);
}
public PropertyMetaDataSwig getByIndex(long index) {
long cPtr = DeviceDetectionHashEngineModuleJNI.PropertyMetaDataCollectionSwig_getByIndex(swigCPtr, this, index);
return (cPtr == 0) ? null : new PropertyMetaDataSwig(cPtr, true);
}
public long getSize() {
return DeviceDetectionHashEngineModuleJNI.PropertyMetaDataCollectionSwig_getSize(swigCPtr, this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy