org.apache.jetspeed.om.registry.base
Class CategoryIterator

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.CategoryIterator
All Implemented Interfaces:
java.util.Iterator

public class CategoryIterator
extends java.lang.Object
implements java.util.Iterator

CategoryIterator - iterators over category treemap/hashmap allowing dups

Version:
$Id: CategoryIterator.java,v 1.3 2004/02/23 03:08:26 jford Exp $
Author:
David Sean Taylor

Field Summary
protected  java.util.HashMap bucket
           
protected  java.util.Iterator bucketIterator
           
protected  java.lang.String category
           
protected  boolean findall
           
protected  java.lang.String group
           
protected  boolean iteratingMaps
           
protected  java.lang.String key
           
protected  java.util.SortedMap map
           
protected  java.util.Iterator mapIterator
           
protected  PortletEntry portlet
           
 
Constructor Summary
CategoryIterator(java.util.SortedMap map, java.lang.String key)
           
 
Method Summary
protected  boolean filter()
           
 java.lang.String getCategory()
           
 java.lang.String getGroup()
           
protected  boolean getPortletEntry()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

protected java.util.SortedMap map

key

protected java.lang.String key

mapIterator

protected java.util.Iterator mapIterator

bucketIterator

protected java.util.Iterator bucketIterator

iteratingMaps

protected boolean iteratingMaps

bucket

protected java.util.HashMap bucket

portlet

protected PortletEntry portlet

findall

protected boolean findall

category

protected java.lang.String category

group

protected java.lang.String group
Constructor Detail

CategoryIterator

public CategoryIterator(java.util.SortedMap map,
                        java.lang.String key)
Method Detail

getCategory

public java.lang.String getCategory()

getGroup

public java.lang.String getGroup()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

filter

protected boolean filter()

getPortletEntry

protected boolean getPortletEntry()

remove

public void remove()
            throws java.lang.IllegalStateException,
                   java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.IllegalStateException
java.lang.UnsupportedOperationException

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator
Throws:
java.util.NoSuchElementException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.