- All Implemented Interfaces:
com.google.common.base.Function<E,Shape>
, Function<E,Shape>
- Enclosing class:
EdgeShape<V,E>
public class EdgeShape.Line
extends Object
implements com.google.common.base.Function<E,Shape>
An edge shape that renders as a straight line between
the vertex endpoints.
-
Constructor Summary
Constructors
-
Method Summary
Get the shape for this edge, returning either the
shared instance or, in the case of self-loop edges, the
Loop shared instance.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
-
Method Details
-
apply
Get the shape for this edge, returning either the
shared instance or, in the case of self-loop edges, the
Loop shared instance.
- Specified by:
apply
in interface com.google.common.base.Function<E,Shape>
- Specified by:
apply
in interface Function<E,Shape>