|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnl.tudelft.tbm.eeni.owlstructure.utils.CollectionUtils
public class CollectionUtils
| Constructor Summary | |
|---|---|
CollectionUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
intersectCollections(Collection<? extends T> collection1,
Collection<? extends T> collection2)
Returns all items that are both in collection1 and in collection2 |
|
static
|
subtractCollections(Collection<? extends T> collection1,
Collection<? extends T> collection2)
Returns all items in collection1 that are not in collection2 |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollectionUtils()
| Method Detail |
|---|
public static <T> Collection<T> intersectCollections(Collection<? extends T> collection1,
Collection<? extends T> collection2)
public static <T> Collection<T> subtractCollections(Collection<? extends T> collection1,
Collection<? extends T> collection2)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||