DataConvertor<V, E> class abstract

Data format converter interface: used to convert business data into data required by component format.

数据格式转换器接口: 用于将业务数据转换成组件格式要求的数据

Implementers

Constructors

DataConvertor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addEdge(E e, Graph graph) Edge
Add data and component when absent.
addVertex(V v, Graph graph) Vertex
Add data and component when absent.
convertEdge(E e, Graph graph) Edge
Convert data struc from business to Edge.
convertGraph(dynamic data, {Graph? graph}) Graph
Convert data struc from business to Graph.
convertVertex(V v, Graph graph) Vertex
Convert data struc from business to Vertex.
edgeAsGraphComponse(E e, Graph g, Edge result) → void
Create edge and graph relationship in memory.
fillEdgesBetween(Graph g, Edge result) → void
cache for edge list between two vertex.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
vertexAsGraphComponse(V v, Graph g, Vertex vertex) → void
Create vertex and graph relationship in memory.

Operators

operator ==(Object other) bool
The equality operator.
inherited