Interface TreeImporter

All Superinterfaces:
Iterable<Tree>
All Known Implementing Classes:
NewickImporter, NexusImporter

public interface TreeImporter extends Iterable<Tree>
Interface for importers that do trees
Version:
$Id: TreeImporter.java 301 2006-04-17 15:35:01Z rambaut $
Author:
Andrew Rambaut, Alexei Drummond
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This can be used to read one tree at a time in a loop: List trees = new ArrayList(); while (hasTree()) { trees.add(importNextTree()); } return whether another tree is available.
    Import a single tree
    Import all the trees

    Methods inherited from interface java.lang.Iterable

    forEach, iterator, spliterator