|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.internal.core.util.InternalUtil
public final class InternalUtil
Method Summary | ||
---|---|---|
static
|
getAddedElements(Collection<E> oldElements,
Collection<E> newElements)
Finds the set of all Elements that are in the new collection but not in the old. |
|
static Set<String> |
getElementNames(Set<? extends ECPElement> elements)
Returns the Set of names of a set of ECPElements . |
|
static
|
getRemovedElements(Collection<E> oldElements,
Collection<E> newElements)
Finds the set of all Elements that are in the old collection but not in the new. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Set<String> getElementNames(Set<? extends ECPElement> elements)
ECPElements
.
elements
- the set of elements to get the names for
public static <E> Set<E> getAddedElements(Collection<E> oldElements, Collection<E> newElements)
E
- the type of the elementsoldElements
- the collection containing the old elementsnewElements
- the collection containing the new elements
public static <E> Set<E> getRemovedElements(Collection<E> oldElements, Collection<E> newElements)
E
- the type of the elementsoldElements
- the collection containing the old elementsnewElements
- the collection containing the new elements
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |