Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Interface MapNode  view MapNode download MapNode.java

All Superinterfaces:
Node
All Known Implementing Classes:
ArrayNode, JavaObjectNode, PackedByteArrayNode, PackedCharArrayNode

public interface MapNode
extends Node

MapNode is an interface to a multi-dimensional array.

Version:
0.9

Method Summary
 java.lang.Object getIndex(VarListNode varlist, AspContext context)
          Obtains the value of this map node at the specified index.
 int getLBOUND(int dimension)
          Obtains the lower bound of this map.
 int getUBOUND(int dimension)
          Obtains the upper bound of this map.
 
Methods inherited from interface com.tripi.asp.Node
dump, execute, prepare
 

Method Detail

getIndex

public java.lang.Object getIndex(VarListNode varlist,
                                 AspContext context)
                          throws AspException
Obtains the value of this map node at the specified index. To handle multi-dimensional arrays, the index is given as a list of parameters.


getUBOUND

public int getUBOUND(int dimension)
              throws AspException
Obtains the upper bound of this map.


getLBOUND

public int getLBOUND(int dimension)
              throws AspException
Obtains the lower bound of this map.