commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (COLLECTIONS-351) Remove features now supported in the JDK
Date Sun, 17 Mar 2013 19:15:14 GMT

    [ https://issues.apache.org/jira/browse/COLLECTIONS-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422502#comment-13422502
] 

Thomas Neidhart edited comment on COLLECTIONS-351 at 3/17/13 7:13 PM:
----------------------------------------------------------------------

>From the preliminary release-notes:

Changes from commons-collections
--------------------------------
- Removed all deprecated classes and methods

- Removed FastArrayList
-- use CopyOnWriteList
- Removed FastHashMap
-- use ConcurrentHashMap, but beware null keys and values
- Removed FastTreeSet
  - no direct replacement - use ConcurrentHashMap or synchronized TreeMap

- Removed Typed* containers such as TypedList and TypedMap
  - use generics for type safety, or Collections.checked*()

- Switch Abstract*Decorator classes to expose decorated() protected method
  instead of the decorated collection directly. Each class overrides decorated()
  to add its type covariantly, thus getList()/getSet() etc. methods are removed
                
      was (Author: tn):
    From the preliminary release-notes:

Changes from commons-collections
--------------------------------
- Removed all deprecated classes and methods

- Removed FastArrayList
  - use CopyOnWriteList
- Removed FastHashMap
  - use ConcurrentHashMap, but beware null keys and values
- Removed FastTreeSet
  - no direct replacement - use ConcurrentHashMap or synchronized TreeMap

- Removed Typed* containers such as TypedList and TypedMap
  - use generics for type safety, or Collections.checked*()

- Switch Abstract*Decorator classes to expose decorated() protected method
  instead of the decorated collection directly. Each class overrides decorated()
  to add its type covariantly, thus getList()/getSet() etc. methods are removed
                  
> Remove features now supported in the JDK
> ----------------------------------------
>
>                 Key: COLLECTIONS-351
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-351
>             Project: Commons Collections
>          Issue Type: Task
>            Reporter: Henri Yandell
>             Fix For: 4.0
>
>
> For example, IdentityMap is (from 1.4) aka java.util.IdentityHashMap. There are definitely
going to be others.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message