@Override public boolean hasNext() { if (next != null) { return true; } while (annotationIt.hasNext()) { Annotation tmp = annotationIt.next(); if (nodes.containsKey(tmp.getSpanNodeFast())) { next = tmp; return true; } } next = null; return false; }
@Override public boolean hasNext() { if (next != null) { return true; } while (annotationIt.hasNext()) { Annotation tmp = annotationIt.next(); if (nodes.containsKey(tmp.getSpanNodeFast())) { next = tmp; return true; } } next = null; return false; }