Class SortedSetCollectionInstantiator

java.lang.Object
com.blazebit.persistence.view.impl.collection.AbstractCollectionInstantiator<NavigableSet<?>,RecordingNavigableSet<?>>
com.blazebit.persistence.view.impl.collection.SortedSetCollectionInstantiator
All Implemented Interfaces:
CollectionInstantiator<NavigableSet<?>,RecordingNavigableSet<?>>, CollectionInstantiatorImplementor<NavigableSet<?>,RecordingNavigableSet<?>>

public class SortedSetCollectionInstantiator extends AbstractCollectionInstantiator<NavigableSet<?>,RecordingNavigableSet<?>>
Since:
1.2.0
Author:
Christian Beikov
  • Constructor Details

    • SortedSetCollectionInstantiator

      public SortedSetCollectionInstantiator(PluralObjectFactory<Collection<?>> collectionFactory, Set<Class<?>> allowedSubtypes, Set<Class<?>> parentRequiringUpdateSubtypes, Set<Class<?>> parentRequiringCreateSubtypes, boolean updatable, boolean optimize, boolean strictCascadingCheck, Comparator<?> comparator)
  • Method Details

    • allowsDuplicates

      public boolean allowsDuplicates()
      Description copied from interface: CollectionInstantiatorImplementor
      Returns whether the collection type allows duplicates.
      Returns:
      whether the collection type allows duplicates
    • isIndexed

      public boolean isIndexed()
      Description copied from interface: CollectionInstantiatorImplementor
      Returns whether the collection type is indexed.
      Returns:
      whether the collection type is indexed
    • createCollection

      public NavigableSet<?> createCollection(int size)
    • createRecordingCollection

      public RecordingNavigableSet<?> createRecordingCollection(int size)