|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.base.YList y25.base.LayerEdgeList
Specialized list implementation for instances of type
LayerEdge
.
Iterating over the elements of this list is accomplished by retrieving a
LayerEdgeCursor
via the method layerEdges
(see the LayerEdgeCursor documentation for an
example).
Nested Class Summary |
Nested classes inherited from class y.base.YList |
YList.ListCursorImpl |
Constructor Summary | |
LayerEdgeList()
Creates an empty layeredge list. |
|
LayerEdgeList(Iterator it)
Creates a list that is initialized with the elements provided by the given Iterator object. |
|
LayerEdgeList(LayerEdge e)
Creates a list that is initialized with a single layeredge provided. |
|
LayerEdgeList(LayerEdge[] layerEdges)
Creates a list that is initialized with the layeredges provided by the given array of layeredges. |
|
LayerEdgeList(LayerEdgeCursor ec)
Creates a list that is initialized with the layeredges provided by the given LayerEdgeCursor object. |
|
LayerEdgeList(LayerEdgeCursor ec,
DataProvider predicate)
Creates a list that is initialized with those layeredges from the given LayerEdgeCursor object for which the given data provider returns true upon calling its
getBool method. |
Method Summary | |
LayerEdge |
firstLayerEdge()
Returns the first layeredge in this list, or null when the
list is empty. |
LayerEdge |
lastLayerEdge()
Returns the last layeredge in this list, or null when the
list is empty. |
LayerEdgeCursor |
layerEdges()
Returns a layeredge cursor for the layeredges. |
Methods inherited from class y.base.YList |
add, addAll, addAll, addFirst, addFirstCell, addLast, addLastCell, clear, contains, containsAll, cursor, cyclicPred, cyclicSucc, elementAt, findCell, first, firstCell, getInfo, indexOf, insertAfter, insertBefore, insertCellAfter, insertCellBefore, isEmpty, iterator, last, lastCell, peek, pop, popLast, predCell, push, remove, removeAll, removeAt, removeCell, retainAll, reverse, setInfo, size, sort, sort, splice, succCell, toArray, toArray, toString, toVector |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Collection |
equals, hashCode |
Constructor Detail |
public LayerEdgeList()
public LayerEdgeList(LayerEdge e)
public LayerEdgeList(LayerEdge[] layerEdges)
public LayerEdgeList(LayerEdgeCursor ec)
LayerEdgeCursor
object.
public LayerEdgeList(LayerEdgeCursor ec, DataProvider predicate)
true
upon calling its
getBool
method.
ec
- A layeredge cursor providing layeredges that should be added
to this list.predicate
- A data provider that acts as a inclusion predicate for each
layeredge accessible by the given layeredge cursor.public LayerEdgeList(Iterator it)
Method Detail |
public LayerEdge firstLayerEdge()
null
when the
list is empty.
public LayerEdge lastLayerEdge()
null
when the
list is empty.
public LayerEdgeCursor layerEdges()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |