org.tinyjee.maven.dim.utils
Class SelectableJavaEntitiesList<E extends AbstractJavaEntity>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<E>
org.tinyjee.maven.dim.utils.SelectableArrayList<E>
org.tinyjee.maven.dim.utils.AbstractSelectableJavaEntitiesList<E>
org.tinyjee.maven.dim.utils.SelectableJavaEntitiesList<E>
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess
public class SelectableJavaEntitiesList<E extends AbstractJavaEntity>
- extends AbstractSelectableJavaEntitiesList<E>
Implements AbstractSelectableJavaEntitiesList for elements that directly derive from AbstractJavaEntity
.
- Author:
- Juergen_Kellerer, 2011-10-11
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
SelectableJavaEntitiesList
public SelectableJavaEntitiesList()
SelectableJavaEntitiesList
public SelectableJavaEntitiesList(Collection<? extends E> collection)
unwrap
public AbstractJavaEntity unwrap(E element)
- Description copied from class:
AbstractSelectableJavaEntitiesList
- Unwraps the given list element to something that can be converted to a valid
AbstractJavaEntity
inside AbstractSelectableJavaEntitiesList.unwrapToEntity(Object)
.
- Specified by:
unwrap
in class AbstractSelectableJavaEntitiesList<E extends AbstractJavaEntity>
- Parameters:
element
- the list element to unwrap.
- Returns:
- the raw JavaEntity or compatible instance of the behind the list element.