Package org.jsoup.internal
Class Functions
java.lang.Object
org.jsoup.internal.Functions
public final class Functions extends Object
An internal class containing functions for use with
Map.computeIfAbsent(Object, Function)
.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
K, V> Function <T, IdentityHashMap<K, V>> static <T,
U> Function <T, List<U>> static <T,
K, V> Function <T, Map<K, V>> static <T,
U> Function <T, Set<U>> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
listFunction
public static <T,U> Function<T,List<U>> listFunction() -
setFunction
public static <T,U> Function<T,Set<U>> setFunction() -
mapFunction
public static <T,K, Function<T,V> Map<K, mapFunction()V>> -
identityMapFunction
public static <T,K, Function<T,V> IdentityHashMap<K, identityMapFunction()V>>
-