Uses of Interface
org.jgrapht.nio.Attribute
Package | Description |
---|---|
org.jgrapht.nio |
Importers/Exporters for various graph formats.
|
org.jgrapht.nio.dot |
DOT importers/exporters
|
org.jgrapht.nio.json |
Json importers/exporters
|
-
Uses of Attribute in org.jgrapht.nio
Classes in org.jgrapht.nio that implement Attribute Modifier and Type Class Description class
DefaultAttribute<T>
Default implementation of an attribute.Fields in org.jgrapht.nio declared as Attribute Modifier and Type Field Description static Attribute
DefaultAttribute. NULL
The null attribute.Fields in org.jgrapht.nio with type parameters of type Attribute Modifier and Type Field Description protected java.util.Optional<java.util.function.Function<E,java.util.Map<java.lang.String,Attribute>>>
BaseExporter. edgeAttributeProvider
An edge attribute providerprotected java.util.Optional<java.util.function.Supplier<java.util.Map<java.lang.String,Attribute>>>
BaseExporter. graphAttributeProvider
A graph attribute providerprotected java.util.Optional<java.util.function.Function<V,java.util.Map<java.lang.String,Attribute>>>
BaseExporter. vertexAttributeProvider
A vertex attribute providerMethods in org.jgrapht.nio that return Attribute Modifier and Type Method Description static Attribute
DefaultAttribute. createAttribute(java.lang.Boolean value)
Create a boolean attributestatic Attribute
DefaultAttribute. createAttribute(java.lang.Double value)
Create a double attributestatic Attribute
DefaultAttribute. createAttribute(java.lang.Float value)
Create a float attributestatic Attribute
DefaultAttribute. createAttribute(java.lang.Integer value)
Create an integer attributestatic Attribute
DefaultAttribute. createAttribute(java.lang.Long value)
Create a long attributestatic Attribute
DefaultAttribute. createAttribute(java.lang.String value)
Create a string attributeMethods in org.jgrapht.nio that return types with arguments of type Attribute Modifier and Type Method Description protected java.util.Optional<Attribute>
BaseExporter. getEdgeAttribute(E e, java.lang.String key)
Get an optional of an edge attributejava.util.Optional<java.util.function.Function<E,java.util.Map<java.lang.String,Attribute>>>
BaseExporter. getEdgeAttributeProvider()
Get the edge attribute providerprotected java.util.Optional<java.util.Map<java.lang.String,Attribute>>
BaseExporter. getEdgeAttributes(E e)
Get edge attributesprotected java.util.Optional<Attribute>
BaseExporter. getGraphAttribute(java.lang.String key)
Get an optional of a graph attributejava.util.Optional<java.util.function.Supplier<java.util.Map<java.lang.String,Attribute>>>
BaseExporter. getGraphAttributeProvider()
Get the graph attribute provider.protected java.util.Optional<Attribute>
BaseExporter. getVertexAttribute(V v, java.lang.String key)
Get an optional of a vertex attributejava.util.Optional<java.util.function.Function<V,java.util.Map<java.lang.String,Attribute>>>
BaseExporter. getVertexAttributeProvider()
Get the vertex attribute providerprotected java.util.Optional<java.util.Map<java.lang.String,Attribute>>
BaseExporter. getVertexAttributes(V v)
Get vertex attributesMethods in org.jgrapht.nio with parameters of type Attribute Modifier and Type Method Description protected void
BaseEventDrivenImporter. notifyEdgeAttribute(E e, java.lang.String key, Attribute value)
Notify for an edge attributeprotected void
BaseEventDrivenImporter. notifyGraphAttribute(java.lang.String key, Attribute value)
Notify for a graph attributeprotected void
BaseEventDrivenImporter. notifyVertexAttribute(V v, java.lang.String key, Attribute value)
Notify for a vertex attributeMethod parameters in org.jgrapht.nio with type arguments of type Attribute Modifier and Type Method Description void
BaseEventDrivenImporter. addEdgeAttributeConsumer(java.util.function.BiConsumer<Pair<E,java.lang.String>,Attribute> consumer)
Add an edge attribute consumer.void
EventDrivenImporter. addEdgeAttributeConsumer(java.util.function.BiConsumer<Pair<E,java.lang.String>,Attribute> consumer)
Add an edge attribute consumer.void
BaseEventDrivenImporter. addEdgeWithAttributesConsumer(java.util.function.BiConsumer<E,java.util.Map<java.lang.String,Attribute>> consumer)
Add an edge with attributes consumer.void
EventDrivenImporter. addEdgeWithAttributesConsumer(java.util.function.BiConsumer<E,java.util.Map<java.lang.String,Attribute>> consumer)
Add an edge with attributes consumer.void
BaseEventDrivenImporter. addGraphAttributeConsumer(java.util.function.BiConsumer<java.lang.String,Attribute> consumer)
Add a graph attribute consumer.void
EventDrivenImporter. addGraphAttributeConsumer(java.util.function.BiConsumer<java.lang.String,Attribute> consumer)
Add a graph attribute consumer.void
BaseEventDrivenImporter. addVertexAttributeConsumer(java.util.function.BiConsumer<Pair<V,java.lang.String>,Attribute> consumer)
Add a vertex attribute consumer.void
EventDrivenImporter. addVertexAttributeConsumer(java.util.function.BiConsumer<Pair<V,java.lang.String>,Attribute> consumer)
Add a vertex attribute consumer.void
BaseEventDrivenImporter. addVertexWithAttributesConsumer(java.util.function.BiConsumer<V,java.util.Map<java.lang.String,Attribute>> consumer)
Add a vertex with attributes consumer.void
EventDrivenImporter. addVertexWithAttributesConsumer(java.util.function.BiConsumer<V,java.util.Map<java.lang.String,Attribute>> consumer)
Add a vertex with attributes consumer.protected void
BaseEventDrivenImporter. notifyEdgeWithAttributes(E e, java.util.Map<java.lang.String,Attribute> attrs)
Notify for an edge with attributes.protected void
BaseEventDrivenImporter. notifyVertexWithAttributes(V v, java.util.Map<java.lang.String,Attribute> attrs)
Notify for a vertex with attributes.void
BaseEventDrivenImporter. removeEdgeAttributeConsumer(java.util.function.BiConsumer<Pair<E,java.lang.String>,Attribute> consumer)
Remove an edge attribute consumer.void
EventDrivenImporter. removeEdgeAttributeConsumer(java.util.function.BiConsumer<Pair<E,java.lang.String>,Attribute> consumer)
Remove an edge attribute consumer.void
BaseEventDrivenImporter. removeEdgeWithAttributesConsumer(java.util.function.BiConsumer<E,java.util.Map<java.lang.String,Attribute>> consumer)
Remove an edge with attributes consumervoid
EventDrivenImporter. removeEdgeWithAttributesConsumer(java.util.function.BiConsumer<E,java.util.Map<java.lang.String,Attribute>> consumer)
Remove an edge with attributes consumervoid
BaseEventDrivenImporter. removeGraphAttributeConsumer(java.util.function.BiConsumer<java.lang.String,Attribute> consumer)
Remove a graph attribute consumer.void
EventDrivenImporter. removeGraphAttributeConsumer(java.util.function.BiConsumer<java.lang.String,Attribute> consumer)
Remove a graph attribute consumer.void
BaseEventDrivenImporter. removeVertexAttributeConsumer(java.util.function.BiConsumer<Pair<V,java.lang.String>,Attribute> consumer)
Remove a vertex attribute consumer.void
EventDrivenImporter. removeVertexAttributeConsumer(java.util.function.BiConsumer<Pair<V,java.lang.String>,Attribute> consumer)
Remove a vertex attribute consumer.void
BaseEventDrivenImporter. removeVertexWithAttributesConsumer(java.util.function.BiConsumer<V,java.util.Map<java.lang.String,Attribute>> consumer)
Remove a vertex with attributes consumervoid
EventDrivenImporter. removeVertexWithAttributesConsumer(java.util.function.BiConsumer<V,java.util.Map<java.lang.String,Attribute>> consumer)
Remove a vertex with attributes consumervoid
BaseExporter. setEdgeAttributeProvider(java.util.function.Function<E,java.util.Map<java.lang.String,Attribute>> edgeAttributeProvider)
Set the edge attribute provider.void
BaseExporter. setGraphAttributeProvider(java.util.function.Supplier<java.util.Map<java.lang.String,Attribute>> graphAttributeProvider)
Set the graph attribute provider.void
BaseExporter. setVertexAttributeProvider(java.util.function.Function<V,java.util.Map<java.lang.String,Attribute>> vertexAttributeProvider)
Set the vertex attribute provider -
Uses of Attribute in org.jgrapht.nio.dot
Methods in org.jgrapht.nio.dot that return types with arguments of type Attribute Modifier and Type Method Description java.util.function.Function<java.util.Map<java.lang.String,Attribute>,E>
DOTImporter. getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.java.util.function.BiFunction<java.lang.String,java.util.Map<java.lang.String,Attribute>,V>
DOTImporter. getVertexWithAttributesFactory()
Get the user custom vertex factory with attributes.Method parameters in org.jgrapht.nio.dot with type arguments of type Attribute Modifier and Type Method Description void
DOTImporter. setEdgeWithAttributesFactory(java.util.function.Function<java.util.Map<java.lang.String,Attribute>,E> edgeWithAttributesFactory)
Set the user custom edge factory with attributes.void
DOTImporter. setVertexWithAttributesFactory(java.util.function.BiFunction<java.lang.String,java.util.Map<java.lang.String,Attribute>,V> vertexWithAttributesFactory)
Set the user custom vertex factory with attributes. -
Uses of Attribute in org.jgrapht.nio.json
Methods in org.jgrapht.nio.json that return types with arguments of type Attribute Modifier and Type Method Description java.util.function.Function<java.util.Map<java.lang.String,Attribute>,E>
JSONImporter. getEdgeWithAttributesFactory()
Get the user custom edges factory with attributes.Method parameters in org.jgrapht.nio.json with type arguments of type Attribute Modifier and Type Method Description void
JSONImporter. setEdgeWithAttributesFactory(java.util.function.Function<java.util.Map<java.lang.String,Attribute>,E> edgeWithAttributesFactory)
Set the user custom edge factory with attributes.void
JSONImporter. setVertexWithAttributesFactory(java.util.function.BiFunction<java.lang.String,java.util.Map<java.lang.String,Attribute>,V> vertexWithAttributesFactory)
Set the user custom vertex factory with attributes.