package com.metaio.sdk.jni;

public class IARELObjectVector
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public IARELObjectVector()
  {
    this(MetaioSDKJNI.new_IARELObjectVector__SWIG_0(), true);
  }

  public IARELObjectVector(long paramLong)
  {
    this(MetaioSDKJNI.new_IARELObjectVector__SWIG_1(paramLong), true);
  }

  protected IARELObjectVector(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  protected static long getCPtr(IARELObjectVector paramIARELObjectVector)
  {
    if (paramIARELObjectVector == null)
      return 0L;
    return paramIARELObjectVector.swigCPtr;
  }

  public void add(IARELObject paramIARELObject)
  {
    MetaioSDKJNI.IARELObjectVector_add(this.swigCPtr, this, IARELObject.getCPtr(paramIARELObject), paramIARELObject);
  }

  public long capacity()
  {
    return MetaioSDKJNI.IARELObjectVector_capacity(this.swigCPtr, this);
  }

  public void clear()
  {
    MetaioSDKJNI.IARELObjectVector_clear(this.swigCPtr, this);
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_IARELObjectVector(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public IARELObject get(int paramInt)
  {
    long l = MetaioSDKJNI.IARELObjectVector_get(this.swigCPtr, this, paramInt);
    if (l == 0L)
      return null;
    return new IARELObject(l, false);
  }

  public boolean isEmpty()
  {
    return MetaioSDKJNI.IARELObjectVector_isEmpty(this.swigCPtr, this);
  }

  public void reserve(long paramLong)
  {
    MetaioSDKJNI.IARELObjectVector_reserve(this.swigCPtr, this, paramLong);
  }

  public void set(int paramInt, IARELObject paramIARELObject)
  {
    MetaioSDKJNI.IARELObjectVector_set(this.swigCPtr, this, paramInt, IARELObject.getCPtr(paramIARELObject), paramIARELObject);
  }

  public long size()
  {
    return MetaioSDKJNI.IARELObjectVector_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.IARELObjectVector
 * JD-Core Version:    0.6.2
 */