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

org.robovm.libimobiledevice.binding.IDeviceRef Maven / Gradle / Ivy

The newest version!
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (https://www.swig.org).
 * Version 2.0.4
 *
 * Do not make changes to this file unless you know what you are doing - modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package org.robovm.libimobiledevice.binding;

public class IDeviceRef {
  private transient long swigCPtr;

  protected IDeviceRef(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
    swigCPtr = cPtr;
  }

  protected IDeviceRef() {
    swigCPtr = 0;
  }

  protected static long getCPtr(IDeviceRef obj) {
    return (obj == null) ? 0 : obj.swigCPtr;
  }

  public int hashCode() {
    return 31 + (int) (swigCPtr ^ (swigCPtr >>> 32));
  }

  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (getClass() != obj.getClass()) {
      return false;
    }
    IDeviceRef other = (IDeviceRef) obj;
    return swigCPtr == other.swigCPtr;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy