@Override public int size() { return triGraph.nodeSet().size(); }
/** * True iff triangle is a member of this triangulation. This method isn't required by * AbstractSet, but it improves efficiency. * * @param triangle the object to check for membership */ public boolean contains(Object triangle) { return triGraph.nodeSet().contains(triangle); }
@Override public Iterator<Triangle> iterator() { return triGraph.nodeSet().iterator(); }