Constructor and Description |
---|
FqnCacheNode(String text,
FqnCacheNode<K> parent) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
protected void |
collectNames(Set<String> names,
String s) |
void |
delete() |
FqnCacheNode<K> |
getChild(String segment) |
Collection<FqnCacheNode<K>> |
getChildren() |
String |
getFqn() |
String |
getName() |
FqnCacheNode<K> |
getOrCreateChild(String child) |
FqnCacheNode<K> |
getOrCreateChild(String child,
K userData) |
FqnCacheNode<K> |
getParent() |
K |
getUserData() |
protected void |
invalidate() |
boolean |
isEmpty() |
boolean |
isLeaf() |
boolean |
isRootVisible() |
void |
setUserData(K userData) |
String |
toString() |
boolean |
visitDepthFirst(Predicate<K> visitor) |
boolean |
visitNodeDepthFirst(Predicate<FqnCacheNode> visitor) |
public FqnCacheNode(String text, FqnCacheNode<K> parent)
public final FqnCacheNode<K> getChild(String segment)
public FqnCacheNode<K> getParent()
public void clear()
protected void invalidate()
public FqnCacheNode<K> getOrCreateChild(String child)
public FqnCacheNode<K> getOrCreateChild(String child, K userData)
public final void delete()
public final K getUserData()
public final void setUserData(K userData)
public final boolean isEmpty()
public final boolean isLeaf()
public final Collection<FqnCacheNode<K>> getChildren()
public final boolean visitNodeDepthFirst(Predicate<FqnCacheNode> visitor)
public final String getName()
public final String getFqn()
public boolean isRootVisible()
Copyright © 2024. All rights reserved.