Klasse WrapUtil

java.lang.Object
org.gradle.util.WrapUtil

@Deprecated public class WrapUtil extends Object
Veraltet.
Will be removed in Gradle 9.0.
This class is only here to maintain binary compatibility with existing plugins.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    Veraltet.
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static <T> T[]
    toArray(T... items)
    Veraltet.
     
    static <T> DomainObjectSet<T>
    toDomainObjectSet(Class<T> type, T... items)
    Veraltet.
    Wraps the given items in a mutable domain object set.
    static <T> Set<T>
    toLinkedSet(T... items)
    Veraltet.
    Wraps the given items in a mutable ordered set.
    static <T> List<T>
    toList(Iterable<? extends T> items)
    Veraltet.
    Wraps the given items in a mutable list.
    static <T> List<T>
    toList(T... items)
    Veraltet.
    Wraps the given items in a mutable list.
    static <K, V> Map<K,V>
    toMap(K key, V value)
    Veraltet.
    Wraps the given key and value in a mutable unordered map.
    static <T> Set<T>
    toSet(T... items)
    Veraltet.
    Wraps the given items in a mutable unordered set.
    static <T> SortedSet<T>
    toSortedSet(Comparator<T> comp, T... items)
    Veraltet.
    Wraps the given items in a mutable sorted set using the given comparator.
    static <T> SortedSet<T>
    toSortedSet(T... items)
    Veraltet.
    Wraps the given items in a mutable sorted set.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • WrapUtil

      public WrapUtil()
      Veraltet.
  • Methodendetails

    • toSet

      @SafeVarargs public static <T> Set<T> toSet(T... items)
      Veraltet.
      Wraps the given items in a mutable unordered set.
    • toDomainObjectSet

      @SafeVarargs public static <T> DomainObjectSet<T> toDomainObjectSet(Class<T> type, T... items)
      Veraltet.
      Wraps the given items in a mutable domain object set.
    • toLinkedSet

      @SafeVarargs public static <T> Set<T> toLinkedSet(T... items)
      Veraltet.
      Wraps the given items in a mutable ordered set.
    • toSortedSet

      @SafeVarargs public static <T> SortedSet<T> toSortedSet(T... items)
      Veraltet.
      Wraps the given items in a mutable sorted set.
    • toSortedSet

      @SafeVarargs public static <T> SortedSet<T> toSortedSet(Comparator<T> comp, T... items)
      Veraltet.
      Wraps the given items in a mutable sorted set using the given comparator.
    • toList

      @SafeVarargs public static <T> List<T> toList(T... items)
      Veraltet.
      Wraps the given items in a mutable list.
    • toList

      public static <T> List<T> toList(Iterable<? extends T> items)
      Veraltet.
      Wraps the given items in a mutable list.
    • toMap

      public static <K, V> Map<K,V> toMap(K key, V value)
      Veraltet.
      Wraps the given key and value in a mutable unordered map.
    • toArray

      @SafeVarargs public static <T> T[] toArray(T... items)
      Veraltet.