org.mmbase.datatypes
Class BasicDataType.RestrictedEnumerationIterator

java.lang.Object
  extended by org.mmbase.datatypes.BasicDataType.RestrictedEnumerationIterator
All Implemented Interfaces:
Iterator<Map.Entry<C,String>>
Enclosing class:
BasicDataType<C>

protected class BasicDataType.RestrictedEnumerationIterator
extends Object
implements Iterator<Map.Entry<C,String>>

Iterates over the collection provided by the EnumerationRestriction, but skips the values which are invalid because of the other restrictions on this DataType.


Constructor Summary
BasicDataType.RestrictedEnumerationIterator(Locale locale, Cloud cloud, Node node, Field field)
           
 
Method Summary
protected  void determineNext()
           
 boolean hasNext()
           
 Map.Entry<C,String> next()
           
 void remove()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicDataType.RestrictedEnumerationIterator

BasicDataType.RestrictedEnumerationIterator(Locale locale,
                                            Cloud cloud,
                                            Node node,
                                            Field field)
Method Detail

determineNext

protected void determineNext()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Map.Entry<C,String>>

next

public Map.Entry<C,String> next()
Specified by:
next in interface Iterator<Map.Entry<C,String>>

remove

public void remove()
Specified by:
remove in interface Iterator<Map.Entry<C,String>>

toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null