src/edu/kit/informatik/Utilities.java
/**
     * Support method to filter repeated elements in collections
     * @param <T> the type of the elements in the collection
     * @param collection an object collection
     * @return a new collection without repeated items
     */
Support method to filter repeated elements in collections
@param  the type of the elements in the collection
@param collection an object collection
@return a new collection without repeated items
Support method to filter repeated elements in collections @param the type of the elements in the collection @param collection an object collection @return a new collection without repeated items
public static <T> Collection<T> filterRepeated(final Collection<T> collection) {
        return collection.stream()
                .distinct()
                .collect(Collectors.toList());
    }
public static < T > Collection < T > filterRepeated ( final Collection < T > collection ) { return collection . stream ( ) . distinct ( ) . collect ( Collectors . toList ( ) ) ; }
Support method to filter repeated elements in collections
 @param <T> the type of the elements in the collection
 @param collection an object collection
 @return a new collection without repeated items
Support method to filter repeated elements in collections @param <T > the type of the elements in the collection @param collection an object collection @return a new collection without repeated items