protected static class AbstractEditPart.EditPolicyIterator
extends java.lang.Object
List
of EditPolcies, skipping any
null
values encountered.Constructor and Description |
---|
EditPolicyIterator(java.util.List list)
Deprecated.
this constructor should not be used
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns
true if there is a next edit policy. |
EditPolicy |
next()
Returns the next non-
null EditPolicy. |
public EditPolicyIterator(java.util.List list)
List
.list
- the list of policies.public EditPolicy next()
null
EditPolicy.null
EditPolicy.public boolean hasNext()
true
if there is a next edit policy.true
if there is a next policyCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.