@Override public void visit(P_Mod pathMod) { // do..Or.. need to take a visited set. if ( pathMod.isZeroOrMore() ) { // :p{0,} engine.doOneOrMoreN(pathMod.getSubPath(), node, output) ; return ; } if ( pathMod.isOneOrMore() ) { engine.doOneOrMoreN(pathMod.getSubPath(), node, output) ; return ; } if ( pathMod.isFixedLength() ) engine.doFixedLengthPath(pathMod.getSubPath(), node, pathMod.getFixedLength(), output) ; else engine.doMultiLengthPath(pathMod.getSubPath(), node, pathMod.getMin(), pathMod.getMax(), output) ; }
if ( pMod.isFixedLength() && pMod.getFixedLength() > 0 ) long N = pMod.getFixedLength() ; if ( N > 0 )
if ( pMod.isFixedLength() && pMod.getFixedLength() > 0 ) long N = pMod.getFixedLength() ; if ( N > 0 )