示例#1
0
文件: Filter.java 项目: romucsp/Galak
 @Override
 public void update(Action action) {
   sub.update(action);
   pred.update(action);
 }
示例#2
0
文件: Filter.java 项目: romucsp/Galak
 public boolean hasNext() {
   while (sub.hasNext() && !pred.eval(sub.peekNext())) {
     sub.next();
   }
   return sub.hasNext();
 }