public Iterator<Annotation> iterator() {
        return annotations.annotations().iterator();
    }
Returns an Iterator over all annotations in this tree. Note that the iteration order is non-deterministic.
document/src/main/java/com/yahoo/document/annotation/SpanTree.java