Uses of Interface
science.aist.gtf.graph.builder.GraphBuilder
-
Packages that use GraphBuilder Package Description science.aist.gtf.graph.builder science.aist.gtf.graph.builder.impl -
-
Uses of GraphBuilder in science.aist.gtf.graph.builder
Methods in science.aist.gtf.graph.builder that return GraphBuilder Modifier and Type Method Description GraphBuilder<V,E>
GraphBuilder. addVertex(V value)
Same asgetOrAddVertex(Object)
but it returns the builder itself to provide a fluent way.GraphBuilder<V,E>
EdgeDataBuilder. data(E value)
Add the given value to the edge (which can be retrieved usingEdge.getElement()
and returns the originalGraphBuilder
GraphBuilder<V,E>
EdgeBuilder. to(V value)
Create an edge to the vertex that decorates value.GraphBuilder<V,E>
EdgeBuilder. toByKey(Object key)
Creates an edge to the vertex that is identified by the key.GraphBuilder<V,E>
EdgeWithBuilder. with(Consumer<Edge<V,E>> callback)
Add a callback method, that is executed when the edge is created.GraphBuilder<V,E>
VertexBuilderWith. with(Consumer<Vertex<V,E>> callback)
Adds a callback method, that is called once the vertex is created. -
Uses of GraphBuilder in science.aist.gtf.graph.builder.impl
Classes in science.aist.gtf.graph.builder.impl that implement GraphBuilder Modifier and Type Class Description class
GraphBuilderImpl<V,E>
Implementation of a graph builder (it creates directed weighted edges)Methods in science.aist.gtf.graph.builder.impl that return GraphBuilder Modifier and Type Method Description GraphBuilder<V,E>
GraphBuilderImpl. addVertex(V value)
static <V,E>
GraphBuilder<V,E>GraphBuilderImpl. create()
Creates a new graph builder using the default key mapper as well as the default factory (GraphFactoryFactory.getDefaultFactory()
static <V,E>
GraphBuilder<V,E>GraphBuilderImpl. create(Function<V,Object> keyMapper)
Creates a new graph builder using the default factory (GraphFactoryFactory.getDefaultFactory()
static <V,E>
GraphBuilder<V,E>GraphBuilderImpl. create(Function<V,Object> keyMapper, BinaryOperator<V> merger)
Creates a new graph builder.static <V,E>
GraphBuilder<V,E>GraphBuilderImpl. create(Function<V,Object> keyMapper, GraphFactory graphFactory)
Creates a new graph builderstatic <V,E>
GraphBuilder<V,E>GraphBuilderImpl. create(Function<V,Object> keyMapper, GraphFactory graphFactory, BinaryOperator<V> merger)
Creates a new graph builder.static <V,E>
GraphBuilder<V,E>GraphBuilderImpl. create(GraphFactory graphFactory)
Creates a new graph builder using the default key mapper
-