railo.runtime.type
Class ArrayInt

java.lang.Object
  extended by railo.runtime.type.ArrayInt
All Implemented Interfaces:
Serializable, Sizeable

public final class ArrayInt
extends Object
implements Sizeable, Serializable

CFML array object

See Also:
Serialized Form

Constructor Summary
ArrayInt()
          constructor with default dimesnion (1)
ArrayInt(int[] objects)
          constructor with to data to fill
 
Method Summary
 int add(int o)
           
 void clear()
           
 boolean contains(int key)
           
 int get(int key)
           
 int get(int key, int defaultValue)
           
 int[] keys()
           
 int remove(int key)
           
 int removeEL(int key)
           
 int set(int key, int value)
           
 int size()
           
 long sizeOf()
          return the size of the object
 int[] toArray()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayInt

public ArrayInt()
constructor with default dimesnion (1)


ArrayInt

public ArrayInt(int[] objects)
constructor with to data to fill

Parameters:
objects - Objects array data to fill
Method Detail

get

public int get(int key,
               int defaultValue)

get

public int get(int key)
        throws ExpressionException
Throws:
ExpressionException

set

public int set(int key,
               int value)

size

public int size()

keys

public int[] keys()

remove

public int remove(int key)
           throws ExpressionException
Throws:
ExpressionException

removeEL

public int removeEL(int key)

clear

public void clear()

add

public int add(int o)

toArray

public int[] toArray()

contains

public boolean contains(int key)

sizeOf

public long sizeOf()
Description copied from interface: Sizeable
return the size of the object

Specified by:
sizeOf in interface Sizeable
Returns:
size of the object


Copyright © 2012 Railo