Package com._1c.g5.v8.dt.common
Interface IEObjectTrie
-
- All Known Implementing Classes:
EObjectTrie
public interface IEObjectTrieThe interface of the auxiliary trie to storeEObject's. The keys (or paths) of the trie are qualified names.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIEObjectTrie.INodeTheIEObjectTrienode.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanbelongsTo(org.eclipse.xtext.naming.QualifiedName qualifiedName)Checks whether the special path belongs to thisIEObjectTrie.Collection<IEObjectTrie.INode>getChildren(org.eclipse.xtext.naming.QualifiedName qualifiedName)Gets the children of the trie node achievable by the given path.IEObjectTrie.INodegetNode(org.eclipse.xtext.naming.QualifiedName qualifiedName)Gets the trie node associated with the given path.Set<String>getRootOutgoingEdges()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 Detail
-
getNode
IEObjectTrie.INode getNode(org.eclipse.xtext.naming.QualifiedName qualifiedName)
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
Set<String> getRootOutgoingEdges()
Gets the root outgoing edges.- Returns:
- the root outer edges, can not be
null
-
getChildren
Collection<IEObjectTrie.INode> getChildren(org.eclipse.xtext.naming.QualifiedName qualifiedName)
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
-
-