java.lang.Object
com.tripi.asp.DefaultNode
com.tripi.asp.PackedCharArrayNode
- All Implemented Interfaces:
- MapNode, Node
- public class PackedCharArrayNode
- extends DefaultNode
- implements MapNode
Implements a special version of an ArrayNode which will contain a
read-only array of characters.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBG
private static final org.apache.log4j.Category DBG
- Debugging object
values
char[] values
- Contents of this array
PackedCharArrayNode
public PackedCharArrayNode(char[] values)
- Constructor.
getIndex
public java.lang.Object getIndex(VarListNode varlist,
AspContext context)
throws AspException
- MapNode function to obtain the value of this array at an index.
- Specified by:
getIndex in interface MapNode
getUBOUND
public int getUBOUND(int dimension)
throws AspException
- Obtains the number of elements in this array
- Specified by:
getUBOUND in interface MapNode
getLBOUND
public int getLBOUND(int dimension)
throws AspException
- Obtains the lower bound of this array, always zero
- Specified by:
getLBOUND in interface MapNode
internGetValues
public char[] internGetValues()
- Internal function to obtain the actual character array.