Class PersistentCollectionUtil


  • public class PersistentCollectionUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <TCollection extends java.util.Collection<TEntity>,​TEntity>
      TCollection
      set​(TCollection currentValues, TCollection newValues)  
      static <TCollection extends java.util.Collection<TEntity>,​TEntity>
      TCollection
      set​(TCollection currentValues, TCollection newValues, java.util.function.Consumer<TEntity> elementCallback)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PersistentCollectionUtil

        public PersistentCollectionUtil()
    • Method Detail

      • set

        public static <TCollection extends java.util.Collection<TEntity>,​TEntity> TCollection set​(TCollection currentValues,
                                                                                                        TCollection newValues)
      • set

        public static <TCollection extends java.util.Collection<TEntity>,​TEntity> TCollection set​(TCollection currentValues,
                                                                                                        TCollection newValues,
                                                                                                        java.util.function.Consumer<TEntity> elementCallback)