org.omegahat.Graphics.Layouts
Interface EnumeratedRegionAllocator
- All Superinterfaces:
- java.util.Iterator, RegionAllocator
- All Known Implementing Classes:
- BasicAllocator
- public interface EnumeratedRegionAllocator
- extends RegionAllocator, java.util.Iterator
Extension to standard RegionAllocator
that remembers which descriptions have been given out previously
and can be queried for the next one.
nextDescription
public RegionDescriptionInt nextDescription()
next
public java.lang.Object next()
- Specified by:
next in interface java.util.Iterator
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface java.util.Iterator
remove
public void remove()
- Specified by:
remove in interface java.util.Iterator