Class ModifiedCollections<T>

  • Type Parameters:
    T - the generic type of the collections

    public class ModifiedCollections<T>
    extends java.lang.Object
    The class ModifiedLists holds two collections. It is used as return type for finding from an old list which elements have removed and which have added.
    • Constructor Detail

      • ModifiedCollections

        public ModifiedCollections()
    • Method Detail

      • getModifiedLists

        public ModifiedCollections<T> getModifiedLists​(java.util.Collection<T> previous,
                                                       java.util.Collection<T> next)
        Gets the modified lists.
        Parameters:
        previous - the previous
        next - the next
        Returns:
        the modified lists