Class CollectionUtils
java.lang.Object
fr.ens.biologie.genomique.eoulsan.util.CollectionUtils
This class define an utility class that contains useful methods for collections.
- Since:
- 2.0
- Author:
- Laurent Jourdren
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> Collection<E>nullToEmpty(Collection<E> c) Return an empty collection if the input collection is null.
-
Method Details
-
nullToEmpty
Return an empty collection if the input collection is null.- Type Parameters:
E- collection type- Parameters:
c- input collection- Returns:
- a collection
-