Class PersistentCollectionUtil
- java.lang.Object
-
- ch.puzzle.libpuzzle.modelmapper.jpa.PersistentCollectionUtil
-
public class PersistentCollectionUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PersistentCollectionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <TCollection extends java.util.Collection<TEntity>,TEntity>
TCollectionset(TCollection currentValues, TCollection newValues)static <TCollection extends java.util.Collection<TEntity>,TEntity>
TCollectionset(TCollection currentValues, TCollection newValues, java.util.function.Consumer<TEntity> elementCallback)
-
-
-
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)
-
-