public class Cycle extends Walk
modCount
Constructor and Description |
---|
Cycle(Collection<Node> nodes) |
Modifier and Type | Method and Description |
---|---|
protected List<Edge> |
buildEdges()
Internal method for building the edge set of the walk.
|
boolean |
isValid()
Tests if the cycle is valid.
|
add, add, addAll, addAll, addEdge, addEdges, duplicate, equals, equals, getEdges, getFirst, getLast, hashCode, isClosed, remove, remove, remove, removeAll, reverse, riterator, truncate
clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
containsAll, toString
iterator, size
containsAll
parallelStream, stream
public Cycle(Collection<Node> nodes)
public boolean isValid()
isValid
in interface NodeSequence
isValid
in class Walk
protected List<Edge> buildEdges()
Walk
buildEdges
in class Walk
Copyright © 1996–2023 Geotools. All rights reserved.