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 TypeMethodDescriptionbooleanbelongsTo(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.booleanhasChildren(org.eclipse.xtext.naming.QualifiedName qualifiedName) Returnstrueif the trie node achievable by the given path has children.booleanremove(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
nullif 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) Returnstrueif the trie node achievable by the given path has children.- Parameters:
qualifiedName- the given path, can not benull- Returns:
trueif 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:
trueif the special path belongs to thisIEObjectTrieandfalseotherwise
-
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:
trueif node associated with the given path was deleted,falseotherwise
-