Class NotInstantiatedSet<E>

java.lang.Object
org.eclipse.persistence.indirection.IndirectSet<E>
io.jmix.data.impl.lazyloading.NotInstantiatedSet<E>
All Implemented Interfaces:
NoValueCollection, Serializable, Cloneable, Iterable<E>, Collection<E>, Set<E>, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.descriptors.changetracking.CollectionChangeTracker, org.eclipse.persistence.indirection.IndirectCollection, org.eclipse.persistence.indirection.IndirectContainer

public class NotInstantiatedSet<E> extends org.eclipse.persistence.indirection.IndirectSet<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.IndirectSet

    initialCapacity, loadFactor
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     

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

    _persistence_getPropertyChangeListener, _persistence_setPropertyChangeListener, add, addAll, buildDelegate, clear, clearDeferredChanges, clone, cloneDelegate, contains, containsAll, equals, forEach, getAddedElements, getDelegate, getDelegateObject, getRemovedElements, getTrackedAttributeName, getValueHolder, hasAddedElements, hasBeenRegistered, hasDeferredChanges, hashCode, hasRemovedElements, hasTrackedPropertyChangeListener, isEmpty, isRelationshipMaintenanceRequired, iterator, parallelStream, raiseAddChangeEvent, raiseRemoveChangeEvent, remove, removeAll, removeIf, retainAll, setTrackedAttributeName, setUseLazyInstantiation, setValueHolder, shouldAvoidInstantiation, shouldUseLazyInstantiation, size, spliterator, stream, toArray, toArray, toString

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.Collection

    toArray
  • Constructor Details

    • NotInstantiatedSet

      public NotInstantiatedSet()
  • Method Details

    • isInstantiated

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