Interface ActiveList

All Superinterfaces:
ActiveCollection, Collection, Iterable, List
All Known Implementing Classes:
AbstractActiveList, DefaultActiveList

public interface ActiveList extends ActiveCollection, List
Collection with List semantics, which is backed by a PlexusContainer instance, and retrieves a fresh batch of elements for each method call.
NOTE: All active collections are immutable, and will throw an UnsupportedOperationException if a mutator method is called.
  • Field Details

    • ROLE

      static final String ROLE
  • Method Details

    • checkedContains

      boolean checkedContains(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.contains(Object), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedContainsAll

      boolean checkedContainsAll(Collection collection) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.containsAll(Collection), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedGet

      Object checkedGet(int index) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.get(int), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedIndexOf

      int checkedIndexOf(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.indexOf(Object), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedIterator

      Iterator checkedIterator() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.iterator(), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedLastIndexOf

      int checkedLastIndexOf(Object value) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.lastIndexOf(Object), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedListIterator

      ListIterator checkedListIterator() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.listIterator(), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedListIterator

      ListIterator checkedListIterator(int index) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.listIterator(int), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedSubList

      List checkedSubList(int fromIndex, int toIndex) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.subList(int, int), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedToArray

      Object[] checkedToArray() throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.toArray(), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.
    • checkedToArray

      Object[] checkedToArray(Object[] array) throws org.codehaus.plexus.component.repository.exception.ComponentLookupException
      Same as List.toArray(Object[]), except this method will throw a ComponentLookupException if one or more elements in the set fail during lookup.
      Throws:
      org.codehaus.plexus.component.repository.exception.ComponentLookupException - if one or more elements of the set fail during lookup.