|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.neu.ccs.demeterf.perform.AbstTraversal edu.neu.ccs.demeterf.perform.Traversal
public class Traversal
Traverses an Object structure using a Builder and an Augmentor.
Constructor Summary | |
---|---|
Traversal(FC f)
Create a parameterized Traversal that goes Everywhere |
|
Traversal(FC f,
Control c)
Create a Traversal with Selective edge/field Bypassing |
Method Summary | |
---|---|
static java.lang.Object |
applyFObj(java.lang.Object f,
java.lang.Object[] o,
MethodDB<java.lang.reflect.Method> db,
java.lang.String meth,
int def)
Generic function object application (Faster) |
static java.lang.Object[] |
objectSubset(java.lang.Object[] o,
int len)
Object Array from another Object Array |
static Traversal |
onestep(FC f)
Create a onestep Traversal with the given functionality |
Methods inherited from class edu.neu.ccs.demeterf.perform.AbstTraversal |
---|
traverse, traverse |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Traversal(FC f)
public Traversal(FC f, Control c)
Method Detail |
---|
public static Traversal onestep(FC f)
public static java.lang.Object applyFObj(java.lang.Object f, java.lang.Object[] o, MethodDB<java.lang.reflect.Method> db, java.lang.String meth, int def)
public static java.lang.Object[] objectSubset(java.lang.Object[] o, int len)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |