|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ocl.examples.pivot.ObjectUtil
public class ObjectUtil
Certain generic utility operations on objects.
Constructor Summary | |
---|---|
ObjectUtil()
|
Method Summary | ||
---|---|---|
static void |
dispose(java.lang.Object object)
Disposes of the specified object. |
|
static
|
getNamedElement(java.util.Collection<T> elements,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ObjectUtil()
Method Detail |
---|
public static void dispose(java.lang.Object object)
EObject
, then it and all of its contents will have their
adapter-lists cleared.
object
- an object to disposepublic static <T extends NamedElement> T getNamedElement(java.util.Collection<T> elements, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |