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(Collection collection)
Creates an iterator for the given collection.
|
PropertyIteratorAdapter(Iterator iterator)
Creates an adapter for the given
Iterator . |
PropertyIteratorAdapter(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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
forEachRemaining, hasNext, next, remove
public static final PropertyIterator EMPTY
PropertyIterator
.public PropertyIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of Property
instancespublic PropertyIteratorAdapter(Iterator iterator)
Iterator
.iterator
- iterator of Property
instancespublic PropertyIteratorAdapter(Iterator iterator, long size)
public PropertyIteratorAdapter(Collection collection)
collection
- collection of Property
instancespublic Property nextProperty()
nextProperty
in interface PropertyIterator
NoSuchElementException
- if there is no next propertyCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.