Class Functions

java.lang.Object
org.jsoup.internal.Functions

@Deprecated public final class Functions extends Object
Deprecated.
for removal in jsoup 1.23.1. Replace usages with direct constructor references / lambdas.
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>>
    Deprecated.
     
    static <T, U> Function<T,List<U>>
    Deprecated.
     
    static <T, K, V> Function<T,Map<K,V>>
    Deprecated.
     
    static <T, U> Function<T,Set<U>>
    Deprecated.
     

    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()
      Deprecated.
    • setFunction

      public static <T, U> Function<T,Set<U>> setFunction()
      Deprecated.
    • mapFunction

      public static <T, K, V> Function<T,Map<K,V>> mapFunction()
      Deprecated.
    • identityMapFunction

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