org.aksw.commons.collections
Class Sets
java.lang.Object
org.aksw.commons.collections.Sets
public class Sets
- extends Object
Contains static result-returning methods for the basic set operations union, intersection, difference and complement.
This was created because the author hates math with void methods. Using static import de.konradhoeffner.commons.Sets
one can write "Set x = intersection(union(a,b),c);". In standard java-lingo this would be:
Set x = new HashSet(a);
x.addAll(b);
x.retainAll(c);
|
Constructor Summary |
Sets()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sets
public Sets()
Copyright © 2012. All Rights Reserved.