Package ognl
Class NumberElementsAccessor
java.lang.Object
ognl.NumberElementsAccessor
- All Implemented Interfaces:
ElementsAccessor
,NumericTypes
Implementation of ElementsAccessor that returns an iterator over integers from 0 up to
the given target.
- Author:
- Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
-
Field Summary
Fields inherited from interface ognl.NumericTypes
BIGDEC, BIGINT, BOOL, BYTE, CHAR, DOUBLE, FLOAT, INT, LONG, MIN_REAL_TYPE, NONNUMERIC, SHORT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetElements
(Object target) Returns an iterator over the elements of the given target object.
-
Constructor Details
-
NumberElementsAccessor
public NumberElementsAccessor()
-
-
Method Details
-
getElements
Description copied from interface:ElementsAccessor
Returns an iterator over the elements of the given target object.- Specified by:
getElements
in interfaceElementsAccessor
- Parameters:
target
- the object to get the elements of- Returns:
- an iterator over the elements of the given object
-