Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Static Public Member Functions | |
static< T > List< T > | getInstances (Object[] objects, Class< T > clazz) |
static< T > List< T > | getAdaptableObjects (Object[] objects, Class<?extends T > clazz) |
static< T > List< T > | getAdaptableObjects (Object[] objects, Class<?extends T > clazz, IAdapterManager adapterManager) |
static <T> List<T> de.fu_berlin.inf.dpp.util.ArrayUtils.getAdaptableObjects | ( | Object[] | objects, |
Class<?extends T > | clazz | ||
) | [static] |
Tries to adapt each object to the given class.
objects | objects that are tried to adapted |
clazz | class to adapt each object to |
null
if the object array is null
static <T> List<T> de.fu_berlin.inf.dpp.util.ArrayUtils.getAdaptableObjects | ( | Object[] | objects, |
Class<?extends T > | clazz, | ||
IAdapterManager | adapterManager | ||
) | [static] |
Tries to adapt each object to the given class.
objects | objects that are tried to adapted |
clazz | class to adapt each object to |
adapterManager | the adapterManager that is used to adapt the objects |
null
if the object array is null
static <T> List<T> de.fu_berlin.inf.dpp.util.ArrayUtils.getInstances | ( | Object[] | objects, |
Class< T > | clazz | ||
) | [static] |
Returns a list of elements that are instances of this class.
objects | |
clazz |
null
if the object array is null