Changeset 10600 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-07-23T03:04:37+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/Destroyable.java
r8512 r10600 8 8 * 9 9 * @author immanuel.scholz 10 * @since 208 (creation) 11 * @since 10600 (functional interface) 10 12 */ 13 @FunctionalInterface 11 14 public interface Destroyable { 12 15 -
trunk/src/org/openstreetmap/josm/tools/Diff.java
r10378 r10600 306 306 /** 307 307 * Script builder. 308 */ 308 * @since 10600 (functional interface) 309 */ 310 @FunctionalInterface 309 311 public interface ScriptBuilder { 310 312 /** … … 315 317 * @param len1 number of lines in 2nd file 316 318 * @return a linked list of changes - or null 319 * @since 10600 (renamed) 317 320 */ 318 Change build _script(321 Change buildScript( 319 322 boolean[] changed0, int len0, 320 323 boolean[] changed1, int len1 … … 322 325 } 323 326 324 /** Scan the tables of which lines are inserted and deleted,325 producing an edit script in reverse order. */326 327 /** 328 * Scan the tables of which lines are inserted and deleted, producing an edit script in reverse order. 329 */ 327 330 static class ReverseScript implements ScriptBuilder { 328 331 @Override 329 public Change build _script(332 public Change buildScript( 330 333 final boolean[] changed0, int len0, 331 334 final boolean[] changed1, int len1) { … … 360 363 producing an edit script in forward order. */ 361 364 @Override 362 public Change build _script(365 public Change buildScript( 363 366 final boolean[] changed0, int len0, 364 367 final boolean[] changed1, int len1) { … … 438 441 439 442 // Get the results of comparison in the form of a chain of `struct change's -- an edit script. 440 return bld.build _script(443 return bld.buildScript( 441 444 filevec[0].changedFlag, 442 445 filevec[0].bufferedLines, -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r10580 r10600 311 311 /** 312 312 * Callback interface for asynchronous image loading. 313 */ 313 * @since 10600 (functional interface) 314 */ 315 @FunctionalInterface 314 316 public interface ImageCallback { 315 317 /** … … 323 325 * Callback interface for asynchronous image loading (with delayed scaling possibility). 324 326 * @since 7693 325 */ 327 * @since 10600 (functional interface) 328 */ 329 @FunctionalInterface 326 330 public interface ImageResourceCallback { 327 331 /** -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r10582 r10600 809 809 */ 810 810 @Deprecated 811 @FunctionalInterface 811 812 public interface Function<A, B> { 812 813
Note:
See TracChangeset
for help on using the changeset viewer.