E - the graph edge typepublic static class SpannerAlgorithm.SpannerImpl<E> extends WeightedUnmodifiableSet<E> implements SpannerAlgorithm.Spanner<E>, Serializable
backingSet, weight| Constructor and Description |
|---|
SpannerImpl(Set<E> edges)
Construct a new spanner
|
SpannerImpl(Set<E> edges,
double weight)
Construct a new spanner
|
| Modifier and Type | Method and Description |
|---|---|
Set<E> |
getEdges()
Deprecated.
|
String |
toString() |
add, addAll, clear, contains, containsAll, equals, getWeight, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetWeight, iteratoradd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, stream@Deprecated public Set<E> getEdges()
SpannerAlgorithm.SpannergetEdges in interface SpannerAlgorithm.Spanner<E>public String toString()
toString in class AbstractCollection<E>Copyright © 2018. All rights reserved.