Ticket #2432 (new bug) — at Initial Version

Opened 15 years ago

Last modified 15 years ago

immutable collections -- util

Reported by: stefan Owned by:
Priority: major Milestone:
Component: uncategorized Version: 2.0
Keywords: Cc:
Category: unknown Effort:
Importance: Ticket_group:
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: Changelog: Changelog
Design_reviewers: Imp._reviewers:
Test_reviewers: Analysis_score: 2.5
Design_score: 0 Imp._score: 0
Test_score: 0

Description

  • 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.
Note: See TracTickets for help on using tickets.