Package es.caib.bpm.util
Class CollectionUtils
- java.lang.Object
-
- es.caib.bpm.util.CollectionUtils
-
public class CollectionUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description CollectionUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Object
containsClassAttributeInCollection(Collection in, String fieldName, Object value)
static Collection
extractField(Collection in, String fieldName, Class type)
static Collection
invokeForEach(Collection in, String methodName, Object[] args)
-
-
-
Method Detail
-
containsClassAttributeInCollection
public static Object containsClassAttributeInCollection(Collection in, String fieldName, Object value) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
-
extractField
public static Collection extractField(Collection in, String fieldName, Class type) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
-
invokeForEach
public static Collection invokeForEach(Collection in, String methodName, Object[] args) throws SecurityException, NoSuchMethodException, IllegalArgumentException, IllegalAccessException, InvocationTargetException
-
-