package com.metaio.sdk.jni;

public class ObjectButtonVector
{
  protected boolean swigCMemOwn;
  private long swigCPtr;

  public ObjectButtonVector()
  {
    this(MetaioSDKJNI.new_ObjectButtonVector(), true);
  }

  protected ObjectButtonVector(long paramLong, boolean paramBoolean)
  {
    this.swigCMemOwn = paramBoolean;
    this.swigCPtr = paramLong;
  }

  protected static long getCPtr(ObjectButtonVector paramObjectButtonVector)
  {
    if (paramObjectButtonVector == null)
      return 0L;
    return paramObjectButtonVector.swigCPtr;
  }

  public void add(ObjectButton paramObjectButton)
  {
    MetaioSDKJNI.ObjectButtonVector_add(this.swigCPtr, this, ObjectButton.getCPtr(paramObjectButton), paramObjectButton);
  }

  public void clear()
  {
    MetaioSDKJNI.ObjectButtonVector_clear(this.swigCPtr, this);
  }

  public void delete()
  {
    try
    {
      if (this.swigCPtr != 0L)
      {
        if (this.swigCMemOwn)
        {
          this.swigCMemOwn = false;
          MetaioSDKJNI.delete_ObjectButtonVector(this.swigCPtr);
        }
        this.swigCPtr = 0L;
      }
      return;
    }
    finally
    {
    }
  }

  protected void finalize()
  {
    delete();
  }

  public ObjectButton get(int paramInt)
  {
    return new ObjectButton(MetaioSDKJNI.ObjectButtonVector_get(this.swigCPtr, this, paramInt), false);
  }

  public boolean isEmpty()
  {
    return MetaioSDKJNI.ObjectButtonVector_isEmpty(this.swigCPtr, this);
  }

  public void set(int paramInt, ObjectButton paramObjectButton)
  {
    MetaioSDKJNI.ObjectButtonVector_set(this.swigCPtr, this, paramInt, ObjectButton.getCPtr(paramObjectButton), paramObjectButton);
  }

  public long size()
  {
    return MetaioSDKJNI.ObjectButtonVector_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.ObjectButtonVector
 * JD-Core Version:    0.6.2
 */