Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
JEXL now has fixed arrays. Trying to access a non-existent entry generates an Exception.
Might be useful to allow for the creation and manipulation of growable arrays, e.g. using ArrayList.
Writing to a non-existent entry should just create the value; reading should return null and empty.
This would need a new syntax.
Perhaps:
list=[1,2,3,...]
and
emptyList=[...]
I did wonder about using (), but that would clash with method invocation.
Other ideas welcome!