com.imagero.util
Class OpenVector

java.lang.Object
  extended bycom.imagero.util.OpenVector

public class OpenVector
extends java.lang.Object

OpenVector is rather an array with some check and management functions. Use on own risk!


Constructor Summary
OpenVector()
           
OpenVector(int size)
           
 
Method Summary
 java.lang.Object[] checkSize(int minSize)
           
 java.lang.Object[] clear()
           
 boolean contains(java.lang.Object o)
           
protected  java.lang.Object[] create()
           
protected  java.lang.Object[] create(int size)
           
 int getCount(java.lang.Class c)
           
 java.lang.Object[] getElements()
          OpenVector allows direct access to its elements array.
 int indexOf(java.lang.Object o)
           
 boolean remove(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenVector

public OpenVector()

OpenVector

public OpenVector(int size)
Method Detail

indexOf

public int indexOf(java.lang.Object o)

contains

public boolean contains(java.lang.Object o)

remove

public boolean remove(java.lang.Object o)

checkSize

public java.lang.Object[] checkSize(int minSize)

getCount

public int getCount(java.lang.Class c)

getElements

public java.lang.Object[] getElements()
OpenVector allows direct access to its elements array. Use on own risc - e.g. use it only for reading, don't change anything in this array!


clear

public java.lang.Object[] clear()

create

protected java.lang.Object[] create()

create

protected java.lang.Object[] create(int size)