public class AccessControlPolicyIteratorAdapter extends RangeIteratorDecorator implements AccessControlPolicyIterator
Modifier and Type | Field and Description |
---|---|
static AccessControlPolicyIterator |
EMPTY
Static instance of an empty
AccessControlPolicyIteratorAdapter . |
Constructor and Description |
---|
AccessControlPolicyIteratorAdapter(java.util.Collection collection)
Creates an iterator for the given collection.
|
AccessControlPolicyIteratorAdapter(java.util.Iterator iterator)
Creates an adapter for the given
Iterator . |
AccessControlPolicyIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator . |
Modifier and Type | Method and Description |
---|---|
AccessControlPolicy |
nextAccessControlPolicy()
Returns the next policy.
|
getPosition, getSize, hasNext, next, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
public static final AccessControlPolicyIterator EMPTY
AccessControlPolicyIteratorAdapter
.public AccessControlPolicyIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of access control policies
.public AccessControlPolicyIteratorAdapter(java.util.Iterator iterator)
Iterator
.iterator
- iterator of access control policies
.public AccessControlPolicyIteratorAdapter(java.util.Collection collection)
collection
- collection of AccessControlPolicy
objects.public AccessControlPolicy nextAccessControlPolicy() throws java.util.NoSuchElementException
nextAccessControlPolicy
in interface AccessControlPolicyIterator
java.util.NoSuchElementException
- if there is no next policy.Copyright © 2010 - 2020 Adobe. All Rights Reserved