Package org.openbp.common.util.iterator

Examples of org.openbp.common.util.iterator.SingleIterator


   */
  public Iterator getSockets()
  {
    // Node has a single node socket only
    if (socket != null)
      return new SingleIterator(socket);
    return EmptyIterator.getInstance();
  }
View Full Code Here


    if (o.getClass().isArray())
    {
      return Arrays.asList((Object []) o).iterator();
    }

    return new SingleIterator(o);
  }
View Full Code Here

TOP

Related Classes of org.openbp.common.util.iterator.SingleIterator

Copyright © 2018 www.massapicom. 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.