EdgeSingletonList
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.
Therefore, we need to wrap the edge in a list with a single element.
Properties
This computed property returns the common type in a Collection of Type objects. For example, if two types A
and B
both derive from the interface C`` then
C` would be returned.
Functions
This function returns the first node that matches the name on the supplied list of nodes.
A shortcut to call firstOrNull using the []
syntax.
A shortcut to call byNameOrNull using the []
syntax.
This function will be executed after the edge was added to the container. This can be used to propagate the edge to other properties or register additional handlers, e.g. a TypeObserver.
This function will be executed after an edge was removed from the container. This can be used to unregister additional handlers, e.g. a TypeObserver.
Converts this collection of edges into a collection of nodes for easier access to the "target" nodes.
Returns an UnwrappedEdgeCollection magic container which holds a structure that provides easy access to the "target" nodes without edge information, but is mutable and in-sync with this collection.