jrre
Class ArrayInstance

java.lang.Object
  |
  +--jrre.ObjectInstance
        |
        +--jrre.ArrayInstance

public class ArrayInstance
extends ObjectInstance

Author:
Christopher Ellsworth (Chris@chrisellsworth.com)
, Clarence Alston

Constructor Summary
ArrayInstance(int type, int size)
           
 
Method Summary
 Type getElement(int index)
           
 Type[] getElements()
           
 PrimitiveType getLength()
           
 int getSize()
           
 void setElement(int index, Type value)
           
 void setSize(int size)
           
 void setValues(Type[] values)
           
 java.lang.String toString()
           
 
Methods inherited from class jrre.ObjectInstance
getClassData, getInstanceValue, setClassData, setInstanceValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayInstance

public ArrayInstance(int type,
                     int size)
Method Detail

setSize

public void setSize(int size)

getSize

public int getSize()

setValues

public void setValues(Type[] values)

getElements

public Type[] getElements()

getElement

public Type getElement(int index)

setElement

public void setElement(int index,
                       Type value)

getLength

public PrimitiveType getLength()

toString

public java.lang.String toString()
Overrides:
toString in class ObjectInstance


Copyright © 2002-2002 Appalachian State University. All Rights Reserved.