Package org.gradle.util
Class WrapUtil
java.lang.Object
org.gradle.util.WrapUtil
Deprecated.
Will be removed in Gradle 9.0.
This class is only here to maintain binary compatibility with existing plugins.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T[]
toArray
(T... items) Deprecated.static <T> DomainObjectSet<T>
toDomainObjectSet
(Class<T> type, T... items) Deprecated.Wraps the given items in a mutable domain object set.static <T> Set<T>
toLinkedSet
(T... items) Deprecated.Wraps the given items in a mutable ordered set.static <T> List<T>
Deprecated.Wraps the given items in a mutable list.static <T> List<T>
toList
(T... items) Deprecated.Wraps the given items in a mutable list.static <K,
V> Map<K, V> toMap
(K key, V value) Deprecated.Wraps the given key and value in a mutable unordered map.static <T> Set<T>
toSet
(T... items) Deprecated.Wraps the given items in a mutable unordered set.static <T> SortedSet<T>
toSortedSet
(Comparator<T> comp, T... items) Deprecated.Wraps the given items in a mutable sorted set using the given comparator.static <T> SortedSet<T>
toSortedSet
(T... items) Deprecated.Wraps the given items in a mutable sorted set.
-
Constructor Details
-
WrapUtil
public WrapUtil()Deprecated.
-
-
Method Details
-
toSet
Deprecated.Wraps the given items in a mutable unordered set. -
toDomainObjectSet
Deprecated.Wraps the given items in a mutable domain object set. -
toLinkedSet
Deprecated.Wraps the given items in a mutable ordered set. -
toSortedSet
Deprecated.Wraps the given items in a mutable sorted set. -
toSortedSet
Deprecated.Wraps the given items in a mutable sorted set using the given comparator. -
toList
Deprecated.Wraps the given items in a mutable list. -
toList
Deprecated.Wraps the given items in a mutable list. -
toMap
Deprecated.Wraps the given key and value in a mutable unordered map. -
toArray
Deprecated.
-