Ignore:
Timestamp:
2016-07-31T23:00:12+02:00 (7 years ago)
Author:
Don-vip
Message:

fix javadoc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r10691 r10692  
    5050import java.util.concurrent.ThreadFactory;
    5151import java.util.concurrent.atomic.AtomicLong;
     52import java.util.function.Function;
    5253import java.util.function.Predicate;
    5354import java.util.regex.Matcher;
     
    748749    /**
    749750     * Transforms the collection {@code c} into an unmodifiable collection and
    750      * applies the {@link org.openstreetmap.josm.tools.Utils.Function} {@code f} on each element upon access.
     751     * applies the {@link Function} {@code f} on each element upon access.
    751752     * @param <A> class of input collection
    752753     * @param <B> class of transformed collection
     
    755756     * @return the transformed unmodifiable collection
    756757     */
    757     public static <A, B> Collection<B> transform(final Collection<? extends A> c, final java.util.function.Function<A, B> f) {
     758    public static <A, B> Collection<B> transform(final Collection<? extends A> c, final Function<A, B> f) {
    758759        return new AbstractCollection<B>() {
    759760
     
    790791    /**
    791792     * Transforms the list {@code l} into an unmodifiable list and
    792      * applies the {@link org.openstreetmap.josm.tools.Utils.Function} {@code f} on each element upon access.
     793     * applies the {@link Function} {@code f} on each element upon access.
    793794     * @param <A> class of input collection
    794795     * @param <B> class of transformed collection
     
    797798     * @return the transformed unmodifiable list
    798799     */
    799     public static <A, B> List<B> transform(final List<? extends A> l, final java.util.function.Function<A, B> f) {
     800    public static <A, B> List<B> transform(final List<? extends A> l, final Function<A, B> f) {
    800801        return new AbstractList<B>() {
    801802
Note: See TracChangeset for help on using the changeset viewer.