Package com._1c.g5.v8.dt.common
Interface IEObjectTrie
- All Known Implementing Classes:
EObjectTrie
public interface IEObjectTrie
The interface of the auxiliary trie to store
EObject
's. The keys (or paths) of the trie are qualified names.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionboolean
belongsTo
(org.eclipse.xtext.naming.QualifiedName qualifiedName) Checks whether the special path belongs to thisIEObjectTrie
.getChildren
(org.eclipse.xtext.naming.QualifiedName qualifiedName) Gets the children of the trie node achievable by the given path.getNode
(org.eclipse.xtext.naming.QualifiedName qualifiedName) Gets the trie node associated with the given path.Gets the root outgoing edges.boolean
hasChildren
(org.eclipse.xtext.naming.QualifiedName qualifiedName) Returnstrue
if the trie node achievable by the given path has children.boolean
remove
(org.eclipse.xtext.naming.QualifiedName qualifiedName) Deletes the trie node associated with the given path.
-
Method Details
-
getNode
Gets the trie node associated with the given path.- Parameters:
qualifiedName
- the given path, can not benull
- Returns:
- the node associated with the given path, may be
null
if no node achievable by the given path
-
getRootOutgoingEdges
Gets the root outgoing edges.- Returns:
- the root outer edges, can not be
null
-
getChildren
Gets the children of the trie node achievable by the given path.- Parameters:
qualifiedName
- the given path, can not benull
- Returns:
- the children of the trie node, can not be
null
-
hasChildren
boolean hasChildren(org.eclipse.xtext.naming.QualifiedName qualifiedName) Returnstrue
if the trie node achievable by the given path has children.- Parameters:
qualifiedName
- the given path, can not benull
- Returns:
true
if the trie node achievable by the given path has children.
-
belongsTo
boolean belongsTo(org.eclipse.xtext.naming.QualifiedName qualifiedName) Checks whether the special path belongs to thisIEObjectTrie
.- Parameters:
qualifiedName
- the special path, can not benull
- Returns:
true
if the special path belongs to thisIEObjectTrie
andfalse
otherwise
-
remove
boolean remove(org.eclipse.xtext.naming.QualifiedName qualifiedName) Deletes the trie node associated with the given path.- Parameters:
qualifiedName
- the given path, can not benull
- Returns:
true
if node associated with the given path was deleted,false
otherwise
-