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, tagsmodCount| 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, typeadd, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceAll, retainAll, sort, spliterator, subList, toArray, toArrayparallelStream, removeIf, streampublic 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 Linedataset in class AbstractLinepublic long id()
id in interface Lineid in class AbstractLine