Examples of NullIterator


Examples of diva.util.NullIterator

    /** Return an iterator over the edges coming into the given node.
     *  @param node The node.
     *  @return A NullIterator, since no edges are attached to attributes.
     */
    public Iterator inEdges(Object node) {
        return new NullIterator();
    }
View Full Code Here

Examples of diva.util.NullIterator

    /** Return an iterator over the edges coming out of the given node.
     *  @param node The node.
     *  @return A NullIterator, since no edges are attached to attributes.
     */
    public Iterator outEdges(Object node) {
        return new NullIterator();
    }
View Full Code Here

Examples of diva.util.NullIterator

         *   this graph model.
         *  @return An iterator of Arc objects, all of which have
         *   the given node as their head.
         */
        public Iterator inEdges(Object node) {
            return new NullIterator();
        }
View Full Code Here

Examples of diva.util.NullIterator

         *   this graph model.
         *  @return An iterator of Arc objects, all of which have
         *   the given node as their tail.
         */
        public Iterator outEdges(Object node) {
            return new NullIterator();
        }
View Full Code Here

Examples of diva.util.NullIterator

         * does not necessarily support removal operations.
         * In this base class, this returns an iterator over
         * nothing.
         */
        public Iterator nodesAfterEdges(Object composite) {
            return (new NullIterator());
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.