public static class InitialBranchState.State<STATE> extends InitialBranchState.Adapter<STATE>
InitialBranchState.Adapter<STATE>, InitialBranchState.State<STATE>
DOUBLE_ZERO, NO_STATE
Constructor and Description |
---|
State(STATE initialState,
STATE reversedInitialState) |
Modifier and Type | Method and Description |
---|---|
STATE |
initialState(Path path)
Returns an initial state for a
Path . |
InitialBranchState<STATE> |
reverse()
Creates a version of this state factory which produces reversed initial state,
used in bidirectional traversals.
|
public InitialBranchState<STATE> reverse()
InitialBranchState
reverse
in interface InitialBranchState<STATE>
reverse
in class InitialBranchState.Adapter<STATE>
public STATE initialState(Path path)
InitialBranchState
Path
. All paths entering this method
are start paths(es) of a traversal. State is passed down along traversal
branches as the traversal progresses and can be changed at any point by a
PathExpander
to becomes the new state from that point in that branch
and downwards.path
- the start branch to return the initial state for.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.