commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (JEXL-79) Add support for growable arrays (ArrayLists)
Date Fri, 07 Aug 2009 12:02:14 GMT

    [ https://issues.apache.org/jira/browse/JEXL-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740522#action_12740522
] 

Henri Biestro edited comment on JEXL-79 at 8/7/09 5:02 AM:
-----------------------------------------------------------

Linked separated Introspector & Interpreter issues.

      was (Author: henrib):
    Introspector & Interpreter issues.
  
> Add support for growable arrays (ArrayLists)
> --------------------------------------------
>
>                 Key: JEXL-79
>                 URL: https://issues.apache.org/jira/browse/JEXL-79
>             Project: Commons JEXL
>          Issue Type: New Feature
>            Reporter: Sebb
>             Fix For: Later
>
>         Attachments: JEXL-79.patch, JEXL-79.patch
>
>
> 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!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message