package com.metaio.sdk.jni;

public class IGeometryVector
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public IGeometryVector()
  {
    this(MetaioSDKJNI.new_IGeometryVector(), true);
  }

  protected IGeometryVector(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  protected static long getCPtr(IGeometryVector paramIGeometryVector)
  {
    if (paramIGeometryVector == null)
      return 0L;
    return paramIGeometryVector.swigCPtr;
  }

  public void add(IGeometry paramIGeometry)
  {
    MetaioSDKJNI.IGeometryVector_add(this.swigCPtr, this, IGeometry.getCPtr(paramIGeometry), paramIGeometry);
  }

  public void clear()
  {
    MetaioSDKJNI.IGeometryVector_clear(this.swigCPtr, this);
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_IGeometryVector(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public IGeometry get(int paramInt)
  {
    long l = MetaioSDKJNI.IGeometryVector_get(this.swigCPtr, this, paramInt);
    if (l == 0L)
      return null;
    return new IGeometry(l, false);
  }

  public boolean isEmpty()
  {
    return MetaioSDKJNI.IGeometryVector_isEmpty(this.swigCPtr, this);
  }

  public void set(int paramInt, IGeometry paramIGeometry)
  {
    MetaioSDKJNI.IGeometryVector_set(this.swigCPtr, this, paramInt, IGeometry.getCPtr(paramIGeometry), paramIGeometry);
  }

  public long size()
  {
    return MetaioSDKJNI.IGeometryVector_size(this.swigCPtr, this);
  }
}

/* Location:           C:\Documents and Settings\Cesar Cabello Cea\Mis documentos\Downloads\apk-downloader\com.ikea.kompis-6_dex2jar.jar
 * Qualified Name:     com.metaio.sdk.jni.IGeometryVector
 * JD-Core Version:    0.6.2
 */