Package-level declarations

Types

Link copied to clipboard

This interfaces is an extension of MutableCollection that holds specific functions for the collection of Edge edges.

Link copied to clipboard
abstract class EdgeList<NodeType : Node, EdgeType : Edge<NodeType>>(var thisRef: Node, var init: (start: Node, end: NodeType) -> EdgeType, var outgoing: Boolean = true, var onAdd: (EdgeType) -> Unit? = null, var onRemove: (EdgeType) -> Unit? = null) : ArrayList<EdgeType> , EdgeCollection<NodeType, EdgeType>

This class extends a list of edges. This allows us to use lists of edges more conveniently.

Link copied to clipboard
abstract class EdgeSet<NodeType : Node, EdgeType : Edge<NodeType>>(var thisRef: Node, var init: (start: Node, end: NodeType) -> EdgeType, var outgoing: Boolean = true, var onAdd: (EdgeType) -> Unit? = null, var onRemove: (EdgeType) -> Unit? = null) : HashSet<EdgeType> , EdgeCollection<NodeType, EdgeType>

This class extends a list of property edges. This allows us to use list of property edges more conveniently.

Link copied to clipboard
class EdgeSingletonList<NodeType : Node, NullableNodeType : NodeType?, EdgeType : Edge<NodeType>>(var thisRef: Node, var init: (Node, NodeType) -> EdgeType, var onChanged: (old: EdgeType?, new: EdgeType?) -> Unit? = null, var outgoing: Boolean, of: NullableNodeType) : EdgeCollection<NodeType, EdgeType>

This is a MAJOR workaround since Neo4J OGM does not allow to use our (generic) Edge class for our AST edges. See https://github.com/neo4j/neo4j-ogm/issues/1132.

Link copied to clipboard

This interface can be used for edge collections, which "mirror" its content to another property. This can be used to automatically populate next/prev flow edges.

Link copied to clipboard

An intelligent MutableCollection wrapper around an EdgeCollection which supports iterating, adding and removing Node elements. Basis for UnwrappedEdgeList and UnwrappedEdgeSet.

Link copied to clipboard

An intelligent MutableList wrapper around an EdgeList which supports iterating, adding and removing Node elements.

Link copied to clipboard

An intelligent MutableSet wrapper around an EdgeSet which supports iterating, adding and removing Node elements.