|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectDtracePartitioner
public class DtracePartitioner
This class partitions Daikon trace files so that invocations of the same program point are grouped together for use with random selection.
| Constructor Summary | |
|---|---|
DtracePartitioner(String filename)
|
|
| Method Summary | |
|---|---|
String |
assignToBucket(String invocation)
Returns the program point name given by the input invocation. |
boolean |
hasNext()
|
String |
next()
|
List<String> |
patchValues(List<String> enters)
Same as (List with second arg=false. |
List<String> |
patchValues(List<String> enters,
boolean includeUnreturnedEnters)
Finds the exits that correspond to Enters. |
void |
remove()
Not implemented, because this class does not modify the underlying trace file. |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DtracePartitioner(String filename)
filename - The Daikon trace file to be partitioned| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<String>public void remove()
remove in interface Iterator<String>public String next()
next in interface Iterator<String>public String assignToBucket(String invocation)
assignToBucket in interface Partitioner<String,String>public List<String> patchValues(List<String> enters)
(List, boolean) with second arg=false.
public List<String> patchValues(List<String> enters,
boolean includeUnreturnedEnters)
The original order is NOT guaranteed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||