Package com.cloudbees.groovy.cps
Class CpsDefaultGroovyMethods
java.lang.Object
com.cloudbees.groovy.cps.CpsDefaultGroovyMethods
@Generated(value="com.cloudbees.groovy.cps.tool.Translator",
comments="based on groovy-cps-dgm-builder-4177.vb_203fe395445-jar-with-dependencies.jar")
public class CpsDefaultGroovyMethods
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddShutdownHook(Object self, groovy.lang.Closure closure) static <T> booleanstatic booleanstatic <T> booleanstatic <K,V> boolean static <T> List<T>static <T> Collection<T>collect(Object self, Collection<T> collector, groovy.lang.Closure<? extends T> transform) static <T,E> Collection<T> collect(Collection<E> self, Collection<T> collector, groovy.lang.Closure<? extends T> transform) static <S,T> List<T> collect(Collection<S> self, groovy.lang.Closure<T> transform) static <T,K, V> List<T> static <T,K, V> Collection<T> collect(Map<K, V> self, Collection<T> collector, groovy.lang.Closure<? extends T> transform) static <K,V, E> Map<K, V> collectEntries(E[] self, groovy.lang.Closure<?> transform) static <K,V, E> Map<K, V> collectEntries(E[] self, Map<K, V> collector, groovy.lang.Closure<?> transform) static <K,V, E> Map<K, V> collectEntries(Iterable<E> self, groovy.lang.Closure<?> transform) static <K,V, E> Map<K, V> collectEntries(Iterable<E> self, Map<K, V> collector, groovy.lang.Closure<?> transform) static <K,V, E> Map<K, V> collectEntries(Iterator<E> self, groovy.lang.Closure<?> transform) static <K,V, E> Map<K, V> collectEntries(Iterator<E> self, Map<K, V> collector, groovy.lang.Closure<?> transform) static <K,V> Map<?, ?> collectEntries(Map<K, V> self, groovy.lang.Closure<?> transform) static <K,V, S, T> Map<K, V> collectEntries(Map<S, T> self, Map<K, V> collector, groovy.lang.Closure<?> transform) static <T,E> List<T> collectMany(E[] self, groovy.lang.Closure<Collection<? extends T>> projection) static <T,E> List<T> collectMany(Iterable<E> self, groovy.lang.Closure<Collection<? extends T>> projection) static <T,E> Collection<T> collectMany(Iterable<E> self, Collection<T> collector, groovy.lang.Closure<Collection<? extends T>> projection) static <T,E> List<T> collectMany(Iterator<E> self, groovy.lang.Closure<Collection<? extends T>> projection) static <T,K, V> Collection<T> collectMany(Map<K, V> self, groovy.lang.Closure<Collection<? extends T>> projection) static <T,K, V> Collection<T> collectMany(Map<K, V> self, Collection<T> collector, groovy.lang.Closure<Collection<? extends T>> projection) static ListcollectNested(Iterable self, groovy.lang.Closure transform) static CollectioncollectNested(Iterable self, Collection collector, groovy.lang.Closure transform) static ListcollectNested(Collection self, groovy.lang.Closure transform) static Listcombinations(Iterable self, groovy.lang.Closure<?> function) static <T> Numberstatic <T> Numberstatic <K,V> Number static <T> Numbercount(T[] self, groovy.lang.Closure closure) countBy(E[] self, groovy.lang.Closure<K> closure) static voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voiddownto(BigDecimal self, Number to, groovy.lang.Closure closure) static voiddownto(BigInteger self, Number to, groovy.lang.Closure closure) static <T> Iterable<T>static <T> Collection<T>each(Collection<T> self, groovy.lang.Closure closure) static <T> Iterator<T>static <T> List<T>static <K,V> Map<K, V> static <T> Set<T>static <T> SortedSet<T>static <T> Teach(T self, groovy.lang.Closure closure) static voideachByte(byte[] self, groovy.lang.Closure closure) static voidstatic voideachCombination(Iterable self, groovy.lang.Closure<?> function) eachPermutation(Iterable<T> self, groovy.lang.Closure closure) static <T> Iterable<T>eachWithIndex(Iterable<T> self, groovy.lang.Closure closure) static <T> Collection<T>eachWithIndex(Collection<T> self, groovy.lang.Closure closure) static <T> Iterator<T>eachWithIndex(Iterator<T> self, groovy.lang.Closure closure) static <T> List<T>eachWithIndex(List<T> self, groovy.lang.Closure closure) static <K,V> Map<K, V> eachWithIndex(Map<K, V> self, groovy.lang.Closure closure) static <T> Set<T>eachWithIndex(Set<T> self, groovy.lang.Closure closure) static <T> SortedSet<T>eachWithIndex(SortedSet<T> self, groovy.lang.Closure closure) static <T> TeachWithIndex(T self, groovy.lang.Closure closure) static <T> booleanstatic booleanstatic <T> booleanstatic <K,V> boolean static Objectstatic <T> Tfind(Collection<T> self, groovy.lang.Closure closure) static <K,V> Map.Entry<K, V> static <T> Tfind(T[] self, groovy.lang.Closure condition) static Collectionstatic <T> Collection<T>findAll(Collection<T> self, groovy.lang.Closure closure) static <T> List<T>static <K,V> Map<K, V> static <T> Set<T>static <T> Collection<T>findAll(T[] self, groovy.lang.Closure condition) static intfindIndexOf(Object self, int startIndex, groovy.lang.Closure closure) static intfindIndexOf(Object self, groovy.lang.Closure closure) findIndexValues(Object self, groovy.lang.Closure closure) findIndexValues(Object self, Number startIndex, groovy.lang.Closure closure) static intfindLastIndexOf(Object self, int startIndex, groovy.lang.Closure closure) static intfindLastIndexOf(Object self, groovy.lang.Closure closure) static ObjectfindResult(Object self, groovy.lang.Closure closure) static ObjectfindResult(Object self, Object defaultResult, groovy.lang.Closure closure) static <T,U extends T, V extends T, E>
TfindResult(Collection<E> self, U defaultResult, groovy.lang.Closure<V> closure) static <T,U> T findResult(Collection<U> self, groovy.lang.Closure<T> closure) static <T,U extends T, V extends T, A, B>
TfindResult(Map<A, B> self, U defaultResult, groovy.lang.Closure<V> closure) static <T,K, V> T findResult(Map<K, V> self, groovy.lang.Closure<T> closure) static <T,U> Collection<T> findResults(Iterable<U> self, groovy.lang.Closure<T> filteringTransform) static <T,K, V> Collection<T> findResults(Map<K, V> self, groovy.lang.Closure<T> filteringTransform) static <T> Collection<T>static Mapstatic Mapstatic Mapstatic MapgroupBy(T[] self, groovy.lang.Closure<K> closure) groupEntriesBy(Map<K, V> self, groovy.lang.Closure<G> closure) static <T> Tstatic <E,T, V extends T>
Tinject(E[] self, groovy.lang.Closure<V> closure) static <E,T, U extends T, V extends T>
Tinject(E[] self, U initialValue, groovy.lang.Closure<V> closure) static <T,V extends T>
Tstatic <T,U extends T, V extends T>
Tstatic <E,T, U extends T, V extends T>
Tinject(Collection<E> self, U initialValue, groovy.lang.Closure<V> closure) static <T,V extends T>
Tinject(Collection<T> self, groovy.lang.Closure<V> closure) static <E,T, U extends T, V extends T>
Tstatic <K,V, T, U extends T, W extends T>
Tstatic <T> Tstatic <T> Tstatic <T> Tmax(T[] self, groovy.lang.Closure closure) static groovy.lang.MetaClassstatic groovy.lang.MetaClassstatic <T> Tstatic <T> Tstatic <T> Tmin(T[] self, groovy.lang.Closure closure) static <T,V> List<V> permutations(Iterable<T> self, groovy.lang.Closure<V> function) static <T> booleanremoveAll(Collection<T> self, groovy.lang.Closure condition) static <T> booleanretainAll(Collection<T> self, groovy.lang.Closure condition) static <T> List<T>reverseEach(List<T> self, groovy.lang.Closure closure) static <K,V> Map<K, V> reverseEach(Map<K, V> self, groovy.lang.Closure closure) static <T> T[]reverseEach(T[] self, groovy.lang.Closure closure) static Collectionstatic <T> Collection<Collection<T>>split(Collection<T> self, groovy.lang.Closure closure) static voidstatic Objectstatic Objectstatic Objectstatic Objectstatic Objectstatic Objectstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidupto(BigDecimal self, Number to, groovy.lang.Closure closure) static voidupto(BigInteger self, Number to, groovy.lang.Closure closure) static <T> Tstatic <T> Tstatic <T,U> T with(U self, groovy.lang.Closure<T> closure) static <T> List<T>withDefault(List<T> self, groovy.lang.Closure init) static <K,V> Map<K, V> withDefault(Map<K, V> self, groovy.lang.Closure init) static <T> List<T>withEagerDefault(List<T> self, groovy.lang.Closure init) static <T> List<T>withLazyDefault(List<T> self, groovy.lang.Closure init)
-
Method Details
-
addShutdownHook
-
any
-
any
-
any
-
any
-
collectEntries
-
collectEntries
-
collectEntries
-
collectEntries
-
collectEntries
-
collectEntries
-
collectEntries
-
collectEntries
-
collectMany
public static <T,E> List<T> collectMany(Iterable<E> self, groovy.lang.Closure<Collection<? extends T>> projection) -
collectMany
public static <T,E> Collection<T> collectMany(Iterable<E> self, Collection<T> collector, groovy.lang.Closure<Collection<? extends T>> projection) -
collectMany
public static <T,E> List<T> collectMany(E[] self, groovy.lang.Closure<Collection<? extends T>> projection) -
collectMany
public static <T,E> List<T> collectMany(Iterator<E> self, groovy.lang.Closure<Collection<? extends T>> projection) -
collectMany
public static <T,K, Collection<T> collectManyV> (Map<K, V> self, groovy.lang.Closure<Collection<? extends T>> projection) -
collectMany
public static <T,K, Collection<T> collectManyV> (Map<K, V> self, Collection<T> collector, groovy.lang.Closure<Collection<? extends T>> projection) -
collectNested
-
collectNested
public static Collection collectNested(Iterable self, Collection collector, groovy.lang.Closure transform) -
collectNested
-
collect
-
collect
public static <T> Collection<T> collect(Object self, Collection<T> collector, groovy.lang.Closure<? extends T> transform) -
collect
-
collect
public static <T,E> Collection<T> collect(Collection<E> self, Collection<T> collector, groovy.lang.Closure<? extends T> transform) -
collect
-
collect
public static <T,K, Collection<T> collectV> (Map<K, V> self, Collection<T> collector, groovy.lang.Closure<? extends T> transform) -
combinations
-
countBy
-
countBy
-
countBy
-
countBy
-
count
-
count
-
count
-
count
-
downto
-
downto
-
downto
-
downto
-
downto
-
downto
-
downto
-
downto
-
downto
-
eachByte
public static void eachByte(byte[] self, groovy.lang.Closure closure) -
eachByte
-
eachCombination
-
eachPermutation
-
eachWithIndex
-
eachWithIndex
public static <T> T eachWithIndex(T self, groovy.lang.Closure closure) -
eachWithIndex
-
eachWithIndex
-
eachWithIndex
-
eachWithIndex
-
eachWithIndex
-
eachWithIndex
-
each
-
each
public static <T> T each(T self, groovy.lang.Closure closure) -
each
-
each
-
each
-
each
-
each
-
each
-
every
-
every
-
every
-
every
-
findAll
-
findAll
-
findAll
-
findAll
-
findAll
-
findAll
-
findIndexOf
-
findIndexOf
-
findIndexValues
-
findIndexValues
-
findLastIndexOf
-
findLastIndexOf
-
findResult
-
findResult
-
findResult
-
findResult
public static <T,U extends T, T findResultV extends T, E> (Collection<E> self, U defaultResult, groovy.lang.Closure<V> closure) -
findResult
-
findResult
public static <T,U extends T, T findResultV extends T, A, B> (Map<A, B> self, U defaultResult, groovy.lang.Closure<V> closure) -
findResults
public static <T,U> Collection<T> findResults(Iterable<U> self, groovy.lang.Closure<T> filteringTransform) -
findResults
public static <T,K, Collection<T> findResultsV> (Map<K, V> self, groovy.lang.Closure<T> filteringTransform) -
find
-
find
public static <T> T find(T[] self, groovy.lang.Closure condition) -
find
-
find
-
flatten
public static <T> Collection<T> flatten(Iterable<T> self, groovy.lang.Closure<? extends T> flattenUsing) -
groupBy
-
groupBy
-
groupBy
-
groupBy
-
groupBy
-
groupBy
-
groupBy
-
groupBy
-
groupBy
-
groupEntriesBy
-
identity
-
inject
-
inject
public static <T,U extends T, T injectV extends T> (Object self, U initialValue, groovy.lang.Closure<V> closure) -
inject
public static <E,T, T injectV extends T> (E[] self, groovy.lang.Closure<V> closure) -
inject
public static <E,T, T injectU extends T, V extends T> (E[] self, U initialValue, groovy.lang.Closure<V> closure) -
inject
-
inject
public static <E,T, T injectU extends T, V extends T> (Collection<E> self, U initialValue, groovy.lang.Closure<V> closure) -
inject
public static <E,T, T injectU extends T, V extends T> (Iterator<E> self, U initialValue, groovy.lang.Closure<V> closure) -
inject
public static <K,V, T injectT, U extends T, W extends T> (Map<K, V> self, U initialValue, groovy.lang.Closure<W> closure) -
max
-
max
public static <T> T max(T[] self, groovy.lang.Closure closure) -
max
-
metaClass
-
metaClass
-
min
-
min
public static <T> T min(T[] self, groovy.lang.Closure closure) -
min
-
permutations
-
removeAll
-
retainAll
-
reverseEach
public static <T> T[] reverseEach(T[] self, groovy.lang.Closure closure) -
reverseEach
-
reverseEach
-
split
-
split
-
split
-
split
-
step
-
sum
-
sum
-
sum
-
sum
-
sum
-
sum
-
times
-
upto
-
upto
-
upto
-
upto
-
upto
-
upto
-
upto
-
upto
-
upto
-
use
-
use
-
withDefault
-
withDefault
-
withEagerDefault
-
withLazyDefault
-
with
public static <T,U> T with(U self, groovy.lang.Closure<T> closure)
-