Changeset 2512 in josm for trunk/src/org/openstreetmap/josm/data/conflict
- Timestamp:
- 2009-11-24T10:45:04+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/conflict
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/conflict/Conflict.java
r2198 r2512 14 14 * {@see OsmPrimitive} from the dataset in another layer or the one retrieved from the server.</li> 15 15 * </ul> 16 * 16 * 17 17 * 18 18 */ -
trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java
r2381 r2512 19 19 * <pre> 20 20 * ConflictCollection conflictCollection = .... 21 * 21 * 22 22 * for(Conflict c : conflictCollection) { 23 23 * // do something … … 68 68 /** 69 69 * Adds a conflict to the collection 70 * 70 * 71 71 * @param conflict the conflict 72 72 * @exception IllegalStateException thrown, if this collection already includes a … … 83 83 /** 84 84 * Adds a conflict to the collection of conflicts. 85 * 85 * 86 86 * @param conflict the conflict to to add. Must not be null. 87 87 * @throws IllegalArgumentException thrown, if conflict is null 88 88 * @throws IllegalStateException thrown if this collection already includes a conflict for conflict.getMy() 89 * 89 * 90 90 */ 91 91 public void add(Conflict<?> conflict) throws IllegalStateException, IllegalArgumentException { … … 98 98 /** 99 99 * Add the conflicts in <code>otherConflicts</code> to this collection of conflicts 100 * 100 * 101 101 * @param otherConflicts the collection of conflicts. Does nothing is conflicts is null. 102 102 */ … … 112 112 * Adds a conflict for the pair of {@see OsmPrimitive}s given by <code>my</code> and 113 113 * <code>their</code>. 114 * 114 * 115 115 * @param my my primitive 116 116 * @param their their primitive … … 123 123 /** 124 124 * removes a conflict from this collection 125 * 125 * 126 126 * @param conflict the conflict 127 127 */ … … 133 133 /** 134 134 * removes the conflict registered for {@see OsmPrimitive} <code>my</code> if any 135 * 135 * 136 136 * @param my the primitive 137 137 */ … … 149 149 * Replies the conflict for the {@see OsmPrimitive} <code>my</code>, null 150 150 * if no such conflict exists. 151 * 151 * 152 152 * @param my my primitive 153 153 * @return the conflict for the {@see OsmPrimitive} <code>my</code>, null … … 164 164 * Replies the conflict for the {@see OsmPrimitive} <code>their</code>, null 165 165 * if no such conflict exists. 166 * 166 * 167 167 * @param my my primitive 168 168 * @return the conflict for the {@see OsmPrimitive} <code>their</code>, null … … 179 179 /** 180 180 * Replies true, if this collection includes a conflict for <code>my</code>. 181 * 181 * 182 182 * @param my my primitive 183 183 * @return true, if this collection includes a conflict for <code>my</code>; false, otherwise … … 189 189 /** 190 190 * Replies true, if this collection includes a given conflict 191 * 191 * 192 192 * @param c the conflict 193 193 * @return true, if this collection includes the conflict; false, otherwise … … 199 199 /** 200 200 * Replies true, if this collection includes a conflict for <code>their</code>. 201 * 201 * 202 202 * @param their their primitive 203 203 * @return true, if this collection includes a conflict for <code>their</code>; false, otherwise … … 209 209 /** 210 210 * Removes any conflicts for the {@see OsmPrimitive} <code>my</code>. 211 * 211 * 212 212 * @param my the primitive 213 213 */ … … 223 223 /** 224 224 * Removes any conflicts for the {@see OsmPrimitive} <code>their</code>. 225 * 225 * 226 226 * @param their the primitive 227 227 */ … … 237 237 /** 238 238 * Replies the conflicts as list. 239 * 239 * 240 240 * @return the list of conflicts 241 241 */ … … 246 246 /** 247 247 * Replies the size of the collection 248 * 248 * 249 249 * @return the size of the collection 250 250 */ … … 255 255 /** 256 256 * Replies the conflict at position <code>idx</code> 257 * 257 * 258 258 * @param idx the index 259 259 * @return the conflict at position <code>idx</code> … … 265 265 /** 266 266 * Replies the iterator for this collection. 267 * 267 * 268 268 * @return the iterator 269 269 */ … … 281 281 * Replies the set of {@see OsmPrimitive} which participate in the role 282 282 * of "my" in the conflicts managed by this collection. 283 * 283 * 284 284 * @return the set of {@see OsmPrimitive} which participate in the role 285 285 * of "my" in the conflicts managed by this collection. … … 295 295 * Replies the set of {@see OsmPrimitive} which participate in the role 296 296 * of "their" in the conflicts managed by this collection. 297 * 297 * 298 298 * @return the set of {@see OsmPrimitive} which participate in the role 299 299 * of "their" in the conflicts managed by this collection. … … 309 309 /** 310 310 * Replies true if this collection is empty 311 * 311 * 312 312 * @return true, if this collection is empty; false, otherwise 313 313 */
Note:
See TracChangeset
for help on using the changeset viewer.