public final class Highway extends AbstractLine
Dataset
.Modifier and Type | Field and Description |
---|---|
long |
id
A number identifying this way in some context.
|
highwayRef, highwayType, tags
modCount
Constructor and Description |
---|
Highway(AttributeProvider tags,
Dataset dataset,
int segmentCount)
Create a way with no segments.
|
Highway(AttributeProvider tags,
Dataset dataset,
List<SourceNode> nodes)
Create a way with segments based on a list of nodes.
|
Highway(Line line,
Dataset dataset)
Create a way with segments based on an existing line.
|
Modifier and Type | Method and Description |
---|---|
Dataset |
dataset()
The Dataset that this way is a part of.
|
long |
id()
A number identifying this way in some context.
|
add, addLast, coordinates, end, get, mutable, ref, remove, set, set, size, start, tags, type
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public long id
id()
public Highway(AttributeProvider tags, Dataset dataset, int segmentCount)
public Highway(AttributeProvider tags, Dataset dataset, List<SourceNode> nodes)
public Dataset dataset()
dataset
in interface Line
dataset
in class AbstractLine
public long id()
id
in interface Line
id
in class AbstractLine