Package org.jboss.weld.test.util
Class ActionSequence.TransformationUtils
- java.lang.Object
-
- org.jboss.weld.test.util.ActionSequence.TransformationUtils
-
- Enclosing class:
- ActionSequence
public static final class ActionSequence.TransformationUtils extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActionSequence.TransformationUtils.Function<F,T>
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <F,T>
List<T>transform(ActionSequence.TransformationUtils.Function<? super F,? extends T> function, F... inputElements)Returns a list that appliesfunctionto each element ofinputElements.static <F,T>
List<T>transform(ActionSequence.TransformationUtils.Function<? super F,? extends T> function, Collection<F> fromCollection)Returns a list that appliesfunctionto each element offromCollection.
-
-
-
Method Detail
-
transform
public static <F,T> List<T> transform(ActionSequence.TransformationUtils.Function<? super F,? extends T> function, Collection<F> fromCollection)
Returns a list that appliesfunctionto each element offromCollection.- Throws:
IllegalArgumentException- in case of a null argument
-
transform
@SafeVarargs public static <F,T> List<T> transform(ActionSequence.TransformationUtils.Function<? super F,? extends T> function, F... inputElements)
Returns a list that appliesfunctionto each element ofinputElements.
-
-