public class COL extends Object
| Constructor and Description |
|---|
COL() |
| Modifier and Type | Method and Description |
|---|---|
static <E> Collection<E> |
findObsoleteElements(Collection<E> original,
Collection<E> updated)
Returns a
Collection of obsolete elements. |
static <E> List<E> |
findObsoleteElementsList(Collection<E> original,
Collection<E> updated)
Returns a
List of obsolete elements. |
static <E> Set<E> |
findObsoleteElementsSet(Collection<E> original,
Collection<E> updated)
Returns a
Set of obsolete elements. |
static <E> List<String> |
toStringList(Collection<E> col)
Return the toString from all values off the collection as a list of String
|
public static <E> List<String> toStringList(Collection<E> col)
E - the type of the collectioncol - collection with the datapublic static <E> Collection<E> findObsoleteElements(Collection<E> original, Collection<E> updated)
Collection of obsolete elements. This mean you get a collection (Set, List, ...) witch contains all
the obsolet elements from with was in the original list but not in the updated list.E - Type of the collectionoriginal - Original collection with all elementsupdated - Updated collection may have les elementspublic static <E> List<E> findObsoleteElementsList(Collection<E> original, Collection<E> updated)
List of obsolete elements. More information you can find at
findObsoleteElements(Collection, Collection)E - Type of the collectionoriginal - Original collection with all elementsupdated - Updated collection may have les elementsfindObsoleteElements(Collection, Collection)public static <E> Set<E> findObsoleteElementsSet(Collection<E> original, Collection<E> updated)
Set of obsolete elements. More information you can find at
findObsoleteElements(Collection, Collection)E - Type of the collectionoriginal - Original collection with all elementsupdated - Updated collection may have les elementsfindObsoleteElements(Collection, Collection)Copyright © 2018. All rights reserved.