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 SummaryConstructors
- 
Method SummaryModifier 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- 
WrapUtilpublic WrapUtil()Deprecated.
 
- 
- 
Method Details- 
toSetDeprecated.Wraps the given items in a mutable unordered set.
- 
toDomainObjectSetDeprecated.Wraps the given items in a mutable domain object set.
- 
toLinkedSetDeprecated.Wraps the given items in a mutable ordered set.
- 
toSortedSetDeprecated.Wraps the given items in a mutable sorted set.
- 
toSortedSetDeprecated.Wraps the given items in a mutable sorted set using the given comparator.
- 
toListDeprecated.Wraps the given items in a mutable list.
- 
toListDeprecated.Wraps the given items in a mutable list.
- 
toMapDeprecated.Wraps the given key and value in a mutable unordered map.
- 
toArrayDeprecated.
 
-