Class NotInstantiatedList<E>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.Vector<E>
org.eclipse.persistence.indirection.IndirectList<E>
io.jmix.data.impl.lazyloading.NotInstantiatedList<E>
All Implemented Interfaces:
NoValueCollection, Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.descriptors.changetracking.CollectionChangeTracker, org.eclipse.persistence.indirection.IndirectCollection<E,List<E>>, org.eclipse.persistence.indirection.IndirectContainer<List<E>>

public class NotInstantiatedList<E> extends org.eclipse.persistence.indirection.IndirectList<E> implements NoValueCollection
Use for kotlin non-null references to prevent eager instantiation of lazy-loaded fields.
See Also:
  • Field Summary

    Fields inherited from class org.eclipse.persistence.indirection.IndirectList

    delegate, initialCapacity, isRegistered, valueHolder

    Fields inherited from class java.util.Vector

    capacityIncrement, elementCount, elementData

    Fields inherited from class java.util.AbstractList

    modCount
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

    Methods inherited from class org.eclipse.persistence.indirection.IndirectList

    _persistence_getPropertyChangeListener, _persistence_setPropertyChangeListener, add, add, addAll, addAll, addElement, buildDelegate, capacity, clear, clearDeferredChanges, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, getAddedElements, getDelegate, getDelegateObject, getRemovedElements, getTrackedAttributeName, getValueHolder, hasAddedElements, hasBeenRegistered, hasDeferredChanges, hashCode, hasRemovedElements, hasTrackedPropertyChangeListener, indexOf, indexOf, insertElementAt, isEmpty, isListOrderBrokenInDb, isRelationshipMaintenanceRequired, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, parallelStream, raiseAddChangeEvent, raiseAddChangeEvent, raiseRemoveChangeEvent, raiseRemoveChangeEvent, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, replaceAll, retainAll, set, setElementAt, setIsListOrderBrokenInDb, setSize, setTrackedAttributeName, setUseLazyInstantiation, setValueHolder, shouldAvoidInstantiation, shouldUseLazyInstantiation, size, sort, spliterator, stream, subList, toArray, toArray, toString, trimToSize, usesListOrderField

    Methods inherited from class java.util.Vector

    removeRange

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.Collection

    toArray
  • Constructor Details

    • NotInstantiatedList

      public NotInstantiatedList()
  • Method Details

    • isInstantiated

      public boolean isInstantiated()
      Specified by:
      isInstantiated in interface org.eclipse.persistence.indirection.IndirectContainer<E>
      Overrides:
      isInstantiated in class org.eclipse.persistence.indirection.IndirectList<E>