org.springframework.beans.factory.support

Class ManagedArray

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>, java.util.RandomAccess, BeanMetadataElement, Mergeable


    public class ManagedArray
    extends ManagedList<java.lang.Object>
    Tag collection class used to hold managed array elements, which may include runtime bean references (to be resolved into bean objects).
    Since:
    3.0
    Author:
    Juergen Hoeller
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor and Description
      ManagedArray(java.lang.String elementTypeName, int size)
      Create a new managed array placeholder.
    • Method Summary

      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractList

        equals, hashCode
      • Methods inherited from class java.util.AbstractCollection

        containsAll, 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
      • Methods inherited from interface java.util.Collection

        parallelStream, stream
    • Constructor Detail

      • ManagedArray

        public ManagedArray(java.lang.String elementTypeName,
                            int size)
        Create a new managed array placeholder.
        Parameters:
        elementTypeName - the target element type as a class name
        size - the size of the array