public class Cycle extends Walk
modCount| Constructor and Description |
|---|
Cycle(Collection nodes) |
| Modifier and Type | Method and Description |
|---|---|
protected List |
buildEdges()
Internal method for building the edge set of the walk.
|
boolean |
isValid()
Tests if the cycle is valid.
|
add, add, add, addAll, addAll, addEdge, addEdges, duplicate, equals, equals, getEdges, getFirst, getLast, hashCode, isClosed, remove, remove, remove, removeAll, reverse, riterator, truncateclear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizecontainsAll, toStringiterator, sizecontainsAllparallelStream, streampublic Cycle(Collection nodes)
public boolean isValid()
isValid in interface NodeSequenceisValid in class Walkprotected List buildEdges()
WalkbuildEdges in class WalkCopyright © 1996–2019 Geotools. All rights reserved.