net.sf.sasl.common.helper
Class SetHelper

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

public class SetHelper
extends Object

Class offers some help operations for working with sets.

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

Constructor Summary
SetHelper()
           
 
Method Summary
static
<V> Set<V>
removeNullElement(Set<V> set)
          Creates a copy of the over given set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetHelper

public SetHelper()
Method Detail

removeNullElement

public static <V> Set<V> removeNullElement(Set<V> set)
Creates a copy of the over given set. The null element is removed from the copy.

Type Parameters:
V -
Parameters:
set - null or non null.
Returns:
null or non null.
Since:
0.0.2 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.