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