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 |
---|---|
String |
toString() |
add, addAll, clear, contains, containsAll, equals, getWeight, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getWeight
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public String toString()
toString
in class AbstractCollection<E>
Copyright © 2019. All rights reserved.