org.apache.jetspeed.om.registry.base
Class CategoryIterator
java.lang.Object
org.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
Constructor Summary |
CategoryIterator(java.util.SortedMap map,
java.lang.String key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
CategoryIterator
public CategoryIterator(java.util.SortedMap map,
java.lang.String key)
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.