Mercurial > hg > Members > tatsuki > bench > jungle-core
comparison src/main/java/jp/ac/u_ryukyu/ie/cr/shoshi/jungle/traverser/InterfaceTraverser.java @ 122:b006861cb795
add SearchQueryTest
author | one |
---|---|
date | Mon, 06 Oct 2014 22:42:03 +0900 |
parents | 6a35bd6e5887 |
children | 75ba2f2d6ea3 |
comparison
equal
deleted
inserted
replaced
120:f783a27eed24 | 122:b006861cb795 |
---|---|
79 */ | 79 */ |
80 return editor; | 80 return editor; |
81 } | 81 } |
82 | 82 |
83 public Iterator<Pair<TreeNode, NodePath>> find(final Query query) { | 83 public Iterator<Pair<TreeNode, NodePath>> find(final Query query) { |
84 final PathNodeIterator itNode = new PathNodeIterator(node, query); | 84 final PathNodeIterator itNode = new PathNodeIterator(node); |
85 | 85 |
86 return new Iterator<Pair<TreeNode, NodePath>>() { | 86 return new Iterator<Pair<TreeNode, NodePath>>() { |
87 | 87 |
88 private Pair<TreeNode, NodePath> matchPair = nextmatch(itNode); | 88 private Pair<TreeNode, NodePath> matchPair = nextmatch(itNode); |
89 | 89 |