[
https://issues.apache.org/jira/browse/COLLECTIONS-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hasan Diwan updated COLLECTIONS-322:
------------------------------------
Attachment: NodeListAsCollection.java
File does need the apache header on it, but after that, it's clear to go.
> Adds a Collections wrapper around the w3c NodeList
> --------------------------------------------------
>
> Key: COLLECTIONS-322
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-322
> Project: Commons Collections
> Issue Type: Improvement
> Components: List
> Reporter: Hasan Diwan
> Priority: Minor
> Attachments: NodeListAsCollection.java
>
> Original Estimate: 0.08h
> Remaining Estimate: 0.08h
>
> org.w3c.dom.NodeList is defined as an "abstract collection of Nodes" and
> java.util.List is defined as "An ordered collection (also known as a
> sequence). The user of this interface has precise control over where in the
> list each element is inserted. The user can access elements by their integer
> index (position in the list), and search for elements in the list.". It
> seemed similar enough, so I did an implementation of the useful methods,
> while throwing the appropriate exception when the method wouldn't make sense.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.