Package org.openbp.common.util.iterator

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


  public Iterator getItems(String itemType)
  {
    if (itemType == null)
      // Iterate over all items recursively; the cascade iterator will return
      // an iterator of all leaf nodes in a tree-like structure.
      return new CascadeIterator().iterator(itemTable);

    Map items = (Map) itemTable.get(itemType);
    if (items != null)
      return items.values().iterator();
View Full Code Here

TOP

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

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.