All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fiftyone.devicedetection.hash.engine.onpremise.interop.swig.ValueMetaDataKeySwig 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 ValueMetaDataKeySwig {
  private transient long swigCPtr;
  protected transient boolean swigCMemOwn;

  protected ValueMetaDataKeySwig(long cPtr, boolean cMemoryOwn) {
    swigCMemOwn = cMemoryOwn;
    swigCPtr = cPtr;
  }

  protected static long getCPtr(ValueMetaDataKeySwig 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_ValueMetaDataKeySwig(swigCPtr);
      }
      swigCPtr = 0;
    }
  }

  public ValueMetaDataKeySwig(String propertyName, String valueName) {
    this(DeviceDetectionHashEngineModuleJNI.new_ValueMetaDataKeySwig(propertyName, valueName), true);
  }

  public String getPropertyName() {
    return DeviceDetectionHashEngineModuleJNI.ValueMetaDataKeySwig_getPropertyName(swigCPtr, this);
  }

  public String getValueName() {
    return DeviceDetectionHashEngineModuleJNI.ValueMetaDataKeySwig_getValueName(swigCPtr, this);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy