public class B_O_P_S_SE_SL_Traverser<T> extends B_O_S_SE_SL_Traverser<T>
Traverser.Admin<T>Attachable.Exceptions, Attachable.Method| Modifier and Type | Field and Description |
|---|---|
protected Path |
path |
loops, sack, sideEffectsbulk, futuretHALT| Modifier | Constructor and Description |
|---|---|
protected |
B_O_P_S_SE_SL_Traverser() |
|
B_O_P_S_SE_SL_Traverser(T t,
Step<T,?> step,
long initialBulk) |
| Modifier and Type | Method and Description |
|---|---|
T |
attach(Function<Attachable<T>,T> method)
Regenerate the detached traverser given its location at a particular vertex.
|
Traverser.Admin<T> |
detach()
Prepare the traverser for migration across a JVM boundary.
|
boolean |
equals(Object object) |
int |
hashCode() |
void |
merge(Traverser.Admin<?> other)
When two traversers are have equality with each other, then they can be merged.
|
Path |
path()
Get the current path of the traverser.
|
<R> Traverser.Admin<R> |
split(R r,
Step<T,R> step)
Generate a child traverser of the current traverser for current as step and new object location.
|
getSideEffects, incrLoops, loops, resetLoops, sack, sack, setSideEffects, splitbulk, getStepId, setBulk, setStepIdclone, get, set, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitisHaltedasAdmin, compareTo, path, path, sideEffects, sideEffectsprotected Path path
public Path path()
Traverserpublic Traverser.Admin<T> detach()
Traverser.Admindetach in interface Traverser.Admin<T>detach in class AbstractTraverser<T>public T attach(Function<Attachable<T>,T> method)
Traverser.Adminattach in interface Traverser.Admin<T>attach in interface Attachable<T>attach in class AbstractTraverser<T>method - The method by which to attach a Traverser to an vertex.public void merge(Traverser.Admin<?> other)
Traverser.Adminmerge in interface Traverser.Admin<T>merge in class B_O_Traverser<T>other - the other traverser to merge into this traverser. Once merged, the other can be garbage collected.public <R> Traverser.Admin<R> split(R r, Step<T,R> step)
Traverser.Adminsplit in interface Traverser.Admin<T>split in class B_O_S_SE_SL_Traverser<T>R - The current object type of the childr - The current object of the childstep - The step yielding the splitpublic int hashCode()
hashCode in class B_O_S_SE_SL_Traverser<T>public boolean equals(Object object)
equals in class B_O_S_SE_SL_Traverser<T>Copyright © 2013–2015 Apache Software Foundation. All rights reserved.