Changeset 12269 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-05-28T19:43:08+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ListeningCollection.java
r12267 r12269 3 3 4 4 import java.util.AbstractCollection; 5 import java.util.ArrayList;6 5 import java.util.Iterator; 6 import java.util.List; 7 7 8 8 /** … … 15 15 */ 16 16 public class ListeningCollection<T> extends AbstractCollection<T> { 17 private final ArrayList<T> base;17 private final List<T> base; 18 18 private final Runnable runOnModification; 19 19 … … 22 22 * @param base base collection 23 23 * @param runOnModification runnable run at each modification 24 * @since 12269 24 25 */ 25 public ListeningCollection( ArrayList<T> base, Runnable runOnModification) {26 public ListeningCollection(List<T> base, Runnable runOnModification) { 26 27 this.base = base; 27 28 this.runOnModification = runOnModification;
Note:
See TracChangeset
for help on using the changeset viewer.