net.sf.sasl.common.helper
Class ListHelper

java.lang.Object
  extended by net.sf.sasl.common.helper.ListHelper

public class ListHelper
extends Object

Class offers some help operations for working with lists.

Since:
0.0.1 (sasl-common-aspect-library)
Author:
Philipp Förmer

Constructor Summary
ListHelper()
           
 
Method Summary
static
<T> List<T>
removeNullValues(List<T> list)
          Returns a copy of the over given list in which all null elements have been removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListHelper

public ListHelper()
Method Detail

removeNullValues

public static <T> List<T> removeNullValues(List<T> list)
Returns a copy of the over given list in which all null elements have been removed.

Type Parameters:
T -
Parameters:
list - null or non null
Returns:
null or non null.
Since:
0.0.1 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.