Class TransformingGraphView.Builder<V,W,E,F,T extends TransformingGraphView<V,W,E,F>,B extends TransformingGraphView.Builder<V,W,E,F,T,B>>
- java.lang.Object
-
- org.jungrapht.visualization.layout.util.synthetics.TransformingGraphView.Builder<V,W,E,F,T,B>
-
- Type Parameters:
V- incoming vertex typeW- outgoing vertex typeE- incoming edge typeF- outgoing edge typeT- the TransformingGraphView typeB- the Builder type
- Enclosing class:
- TransformingGraphView<V,W,E,F>
public static class TransformingGraphView.Builder<V,W,E,F,T extends TransformingGraphView<V,W,E,F>,B extends TransformingGraphView.Builder<V,W,E,F,T,B>> extends Object
builds the TransformGraphView instance with supplied Functions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tbuild()BedgeTransformFunction(Function<E,F> edgeTransformFunction)protected Bself()BvertexTransformFunction(Function<V,W> vertexTransformFunction)
-
-
-
Method Detail
-
self
protected B self()
-
vertexTransformFunction
public B vertexTransformFunction(Function<V,W> vertexTransformFunction)
- Parameters:
vertexTransformFunction-Functionto apply to vertices- Returns:
- this Builder
-
edgeTransformFunction
public B edgeTransformFunction(Function<E,F> edgeTransformFunction)
- Parameters:
edgeTransformFunction-Functionto apply to edges- Returns:
- this Builder
-
build
public T build()
-
-