java.util.function.Function



API Populatity

9 Client projects

Project: java

Package: java.util

Project stanfordnlp/CoreNLP in file ...a/src.edu.stanford.nlp.util.TwoDimensionalMap.java (2015-03-14)
@@ -2,7 +2,6 @@ package edu.stanford.nlp.util;
 
 import java.util.*;
 import java.io.Serializable;
-import java.util.function.Function;
 
 import edu.stanford.nlp.util.MapFactory;
 
@@ -88,7 +87,6 @@ public class TwoDimensionalMap<K1, K2, V> implements Serializable, Iterable<TwoD
   }
 
   public Collection<V> values() {
-    // TODO: Should return a specialized class
     List<V> s = Generics.newArrayList();
     for (Map<K2, V> innerMap : map.values()) {
       s.addAll(innerMap.values());
Project stanfordnlp/CoreNLP in file ...0/src.edu.stanford.nlp.util.BijectiveFunction.java (2014-09-08)
@@ -1,7 +1,9 @@
 package edu.stanford.nlp.util;
 
+import java.util.function.Function;
+
 /**
- * A {@link Function} that is invertible, and so has the unapply method.
+ * A {@link java.util.function.Function} that is invertible, and so has the unapply method.
  * 
  *
  * @author David Hall
Project stanfordnlp/CoreNLP in file ...a/src.edu.stanford.nlp.util.BijectiveFunction.java (2015-03-14)
@@ -1,9 +1,7 @@
 package edu.stanford.nlp.util;
 
-import java.util.function.Function;
-
 /**
- * A {@link java.util.function.Function} that is invertible, and so has the unapply method.
+ * A {@link Function} that is invertible, and so has the unapply method.
  * 
  *
  * @author David Hall