net.sourceforge.templat.expr
Class ArraySubscript
java.lang.Object
net.sourceforge.templat.expr.ArraySubscript
- All Implemented Interfaces:
- Selector
class ArraySubscript
- extends Object
- implements Selector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArraySubscript
public ArraySubscript(int subscript)
apply
public Object apply(Object var)
throws TemplateParsingException
- Description copied from interface:
Selector
- Applies this selector to the given variable.
- Specified by:
apply
in interface Selector
- Parameters:
var
- variable to apply this selector to
- Returns:
- the result of applying this selector to the given variable
- Throws:
TemplateParsingException