You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (JIRA)" <ji...@apache.org> on 2015/07/28 08:53:04 UTC
[jira] [Updated] (JEXL-151) operators to manipulate j.u.Collection
[ https://issues.apache.org/jira/browse/JEXL-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Biestro updated JEXL-151:
-------------------------------
Fix Version/s: (was: Later)
3.0
> operators to manipulate j.u.Collection
> --------------------------------------
>
> Key: JEXL-151
> URL: https://issues.apache.org/jira/browse/JEXL-151
> Project: Commons JEXL
> Issue Type: New Feature
> Affects Versions: 3.0
> Reporter: Dmitri Blinov
> Assignee: Henri Biestro
> Priority: Minor
> Fix For: 3.0
>
>
> New operators to add or remove collection items to/from Collection. Operators can be named as += and -= respectively, or any other way. Operator += can be mapped to Collection.addAll(Collection c) if right argument is Collection or to Collection.add(Object o) otherwise. Operator -= can be mapped to Collection.removeAll(Collection c) if right argument is Collection or to Collection.remove(Object o) otherwise. Extend operators =~ (!~) to support CollectionA =~ CollectionB usage, in which case it should map to B.containsAll(A) operation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)