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 Type
    Method
    Description
    static <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, V> Function<T,Map<K,V>> mapFunction()
    • identityMapFunction

      public static <T, K, V> Function<T,IdentityHashMap<K,V>> identityMapFunction()