public class AccessControlPolicyIteratorAdapter extends RangeIteratorDecorator implements AccessControlPolicyIterator
| Modifier and Type | Field and Description | 
|---|---|
| static AccessControlPolicyIterator | EMPTYStatic instance of an empty  AccessControlPolicyIteratorAdapter. | 
| Constructor and Description | 
|---|
| AccessControlPolicyIteratorAdapter(Collection collection)Creates an iterator for the given collection. | 
| AccessControlPolicyIteratorAdapter(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, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPosition, getSize, skipforEachRemaining, hasNext, next, removepublic static final AccessControlPolicyIterator EMPTY
AccessControlPolicyIteratorAdapter.public AccessControlPolicyIteratorAdapter(RangeIterator iterator)
RangeIterator.iterator - iterator of access control policies.public AccessControlPolicyIteratorAdapter(Iterator iterator)
Iterator.iterator - iterator of access control policies.public AccessControlPolicyIteratorAdapter(Collection collection)
collection - collection of AccessControlPolicy objects.public AccessControlPolicy nextAccessControlPolicy() throws NoSuchElementException
nextAccessControlPolicy in interface AccessControlPolicyIteratorNoSuchElementException - if there is no next policy.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.