public class PropertyIteratorAdapter extends RangeIteratorDecorator implements PropertyIterator
Modifier and Type | Field and Description |
---|---|
static PropertyIterator |
EMPTY
Static instance of an empty
PropertyIterator . |
Constructor and Description |
---|
PropertyIteratorAdapter(java.util.Collection collection)
Creates an iterator for the given collection.
|
PropertyIteratorAdapter(java.util.Iterator iterator)
Creates an adapter for the given
Iterator . |
PropertyIteratorAdapter(java.util.Iterator iterator,
long size) |
PropertyIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator . |
Modifier and Type | Method and Description |
---|---|
Property |
nextProperty()
Returns the next property.
|
getPosition, getSize, hasNext, next, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
public static final PropertyIterator EMPTY
PropertyIterator
.public PropertyIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of Property
instancespublic PropertyIteratorAdapter(java.util.Iterator iterator)
Iterator
.iterator
- iterator of Property
instancespublic PropertyIteratorAdapter(java.util.Iterator iterator, long size)
public PropertyIteratorAdapter(java.util.Collection collection)
collection
- collection of Property
instancespublic Property nextProperty()
nextProperty
in interface PropertyIterator
java.util.NoSuchElementException
- if there is no next propertyCopyright © 2010 - 2023 Adobe. All Rights Reserved