Changes between Version 3 and Version 4 of PRO_LIB_MODEL_PRO_LISTS_R0
- Timestamp:
- 04/21/09 16:35:35 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PRO_LIB_MODEL_PRO_LISTS_R0
v3 v4 35 35 In the add/remove method of ProList will be added new functionality that will add the parameter to the map with the following rules: 36 36 * If the parameter is ListEntry - the key in the map is the key of ListEntry 37 * if the parameter is Immutable - the key in the map is the Immutable object (its hashCode)37 * if the parameter is Immutable - the key in the map is the Immutable object 38 38 * if the parameter is Mutable - the added in the map is null 39 39 40 40 The two new methods are : 41 * findAll (key : Object) : List< ListEntry> - this method will return all the entries in the list with the specified key42 * findOne (key : Object) : ListEntry- this method will return only one entry from the list for the key. More - if there are more than one entry an exception will be thrown41 * findAll (key : Object) : List<E> - this method will return all the entries in the list with the specified key 42 * findOne (key : Object) : E - this method will return only one entry from the list for the key. More - if there are more than one entry an exception will be thrown 43 43 44 44 45 45 46 46 = Implementation = 47 ^(Describe and link the implementation results here (from the wiki or the repository).)^ 47 The task is implemented according to the design 48 49 Changesets: [2163] 48 50 49 51 = Testing =