Ticket #2432 (closed feature: later)
immutable collections -- util
Reported by: | stefan | Owned by: | stefan |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | |
Importance: | Ticket_group: | immutable collections | |
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | stefan | Design_owners: | |
Imp._owners: | Test_owners: | ||
Analysis_reviewers: | pap | Changelog: | Changelog |
Design_reviewers: | Imp._reviewers: | ||
Test_reviewers: | Analysis_score: | 2.5 | |
Design_score: | 0 | Imp._score: | 0 |
Test_score: | 0 |
Description (last modified by stefan) (diff)
- Add following methods (regarding ImmCollection) and their implementation in separate util class:
- indexOf(T element) - it returns index of a given element.
- createFromCollection(Collection c) - create immutable collection from another collection.
- move all heavy methods - methods that are slow, from ImmCollection and all its successors into that utility class.
wiki page: IMM_COLLECTIONS_REFACTOR
Change History
comment:2 Changed 15 years ago by stefan
- Owner set to stefan
- Status changed from new to s1a_analysis_started
comment:3 Changed 15 years ago by stefan
- Status changed from s1a_analysis_started to s1b_analysis_finished
comment:4 Changed 15 years ago by stefan
- Ticket_group set to immutable collections
- Description modified (diff)
comment:5 Changed 15 years ago by pap
- Status changed from s1b_analysis_finished to new
- Analysis_reviewers set to pap
- Analysis_score changed from 0 to 2.5
- The "slow" methods should be in a separate util that even by its name denotes that these are slow.
- The createFromCollection is part of another task as far as I read.
- Actually I thought that there won't be such a method but rather a family of methods one for each collection.
- Does adding indexOf in a separate util really make sense? Maybe that shorthand method could just be in the collection itself?
- Otherwise there should be more methods in this FastUtil.
Note: See
TracTickets for help on using
tickets.