History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CASTOR-1553
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Edward Kuns
Reporter: Edward Kuns
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
castor

Add "java 5" collection type. That collection type will be Java 5 for-loop friendly

Created: 14/Sep/06 11:56 AM   Updated: 08/Nov/06 09:50 PM
Component/s: XML code generator
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Original Estimate: 6 hours
Original Estimate - 6 hours
Remaining Estimate: 6 hours
Remaining Estimate - 6 hours
Time Spent: Not Specified
Remaining Estimate - 6 hours


 Description  « Hide
Java 5 requires Iterable to be able to use a collection in the new Java 5 for-loop. Easier, I think, than doing something to implement iterable would be to provide a method that returns the collection being used, wrapped in an Unmodifiable wrapper. A Java 5 collection would probably not return an enumerator, as that's a Java 1 collection method, but that could be left in place and deprecated, for backwards compatibility.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.