Class TagPathTree<T>
- java.lang.Object
-
- com.inductiveautomation.ignition.common.PathTree<TagPath,T>
-
- com.inductiveautomation.ignition.common.sqltags.model.TagPathTree<T>
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BrowseResultCacheTree
,TagTree
public class TagPathTree<T> extends PathTree<TagPath,T>
Represents a tree of objects, accessible by a tag path.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
TagPathTree.SimpleEntry
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.PathTree
PathTree.TreeNode
-
-
Constructor Summary
Constructors Constructor Description TagPathTree()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
createFolderLeafValue(TagPath path)
When branch nodes are created implicitly, this function is used to provide a leaf value.java.util.Set<java.util.Map.Entry<TagPath,T>>
entrySet()
protected void
enumerateEntries(TagPath path, PathTree.TreeNode node, java.util.Set<java.util.Map.Entry<TagPath,T>> values)
T
getRootValue()
boolean
insertValue(TagPath path, T value)
Same as put, for for backwards compatibility *protected PathTree.TreeNode
instantiateNode(PathTree.TreeNode parent, TagPath path, int pos)
-
Methods inherited from class com.inductiveautomation.ignition.common.PathTree
browse, clear, computeIfAbsent, findNode, findNode, get, getBranches, getBranches, getChildren, getRoot, getValuesOfPath, isCaseSensitive, put, remove, removeIfEmpty, setCaseSensitive, size
-
-
-
-
Method Detail
-
instantiateNode
protected PathTree.TreeNode instantiateNode(PathTree.TreeNode parent, TagPath path, int pos)
- Overrides:
instantiateNode
in classPathTree<TagPath,T>
-
insertValue
public boolean insertValue(TagPath path, T value)
Same as put, for for backwards compatibility *
-
getRootValue
public T getRootValue()
-
createFolderLeafValue
protected T createFolderLeafValue(TagPath path)
When branch nodes are created implicitly, this function is used to provide a leaf value. The default implementation returns null.
-
enumerateEntries
protected void enumerateEntries(TagPath path, PathTree.TreeNode node, java.util.Set<java.util.Map.Entry<TagPath,T>> values)
-
-