equal
deleted
inserted
replaced
104 * Get the value that belongs to this item. |
104 * Get the value that belongs to this item. |
105 * @param item the item to get the value from |
105 * @param item the item to get the value from |
106 * @return the value that belongs to this item. |
106 * @return the value that belongs to this item. |
107 */ |
107 */ |
108 int32 GetValue(int32 item); |
108 int32 GetValue(int32 item); |
|
109 |
|
110 /** |
|
111 * Set a value of an item directly. |
|
112 * @param item the item to set the value for. |
|
113 * @param value the value to give to the item |
|
114 * @return true if we could set the item to value, false otherwise. |
|
115 */ |
|
116 bool SetValue(int32 item, int32 value); |
109 |
117 |
110 /** |
118 /** |
111 * Sort this list by item-value. |
119 * Sort this list by item-value. |
112 * @param ascending if true, lowest value is on top, else at bottom. |
120 * @param ascending if true, lowest value is on top, else at bottom. |
113 * @note the current item stays at the same place. |
121 * @note the current item stays at the same place. |