org.tinyjee.maven.dim.utils
Class SelectableJavaEntitiesList<E extends AbstractJavaEntity>

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<E>
              extended by org.tinyjee.maven.dim.utils.SelectableArrayList<E>
                  extended by org.tinyjee.maven.dim.utils.AbstractSelectableJavaEntitiesList<E>
                      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.tinyjee.maven.dim.utils.SelectableArrayList
SelectableArrayList.Selector<E>
 
Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SelectableJavaEntitiesList()
           
SelectableJavaEntitiesList(Collection<? extends E> collection)
           
 
Method Summary
 AbstractJavaEntity unwrap(E element)
          Unwraps the given list element to something that can be converted to a valid AbstractJavaEntity inside AbstractSelectableJavaEntitiesList.unwrapToEntity(Object).
 
Methods inherited from class org.tinyjee.maven.dim.utils.AbstractSelectableJavaEntitiesList
asMap, clone, isAnnotation, selectAnnotated, selectDerived, selectMatching, selectNonAnnotated, selectNonDerived, selectNonMatching, unwrapToEntity
 
Methods inherited from class org.tinyjee.maven.dim.utils.SelectableArrayList
createInvertSelector, createOrSelector, createRegularExpressionSelector, select, selectMatching
 
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
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

SelectableJavaEntitiesList

public SelectableJavaEntitiesList()

SelectableJavaEntitiesList

public SelectableJavaEntitiesList(Collection<? extends E> collection)
Method Detail

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.