public class BoundaryList2S extends BoundaryList<Point2S,GreatArc> implements BoundarySource2S
BoundarySource2S
implementation that uses boundaries stored in
a list. Lists given during construction are used directly; no copies are made.
Thread safety and immutability therefore depend on the underlying list and its
usage outside of this class. The boundary list cannot be modified through this
class.Constructor and Description |
---|
BoundaryList2S(List<? extends GreatArc> boundaries)
Construct a new instance with the given list of boundaries.
|
Modifier and Type | Method and Description |
---|---|
BoundaryList2S |
toList()
Return this instance.
|
boundaryStream, count, getBoundaries, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
of, of, toTree
boundaryStream
public BoundaryList2S(List<? extends GreatArc> boundaries)
boundaries
- list of boundaries for the instancepublic BoundaryList2S toList()
toList
in interface BoundarySource2S
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.