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, 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 nodes)
public boolean isValid()
isValid
in interface NodeSequence
isValid
in class Walk
protected List buildEdges()
Walk
buildEdges
in class Walk
Copyright © 1996–2019 Geotools. All rights reserved.