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, sideEffects
bulk, future
t
HALT
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, split
bulk, getStepId, setBulk, setStepId
clone, get, set, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
isHalted
asAdmin, compareTo, path, path, sideEffects, sideEffects
protected Path path
public Path path()
Traverser
public Traverser.Admin<T> detach()
Traverser.Admin
detach
in interface Traverser.Admin<T>
detach
in class AbstractTraverser<T>
public T attach(Function<Attachable<T>,T> method)
Traverser.Admin
attach
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.Admin
merge
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.Admin
split
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.