Constructor and Description |
---|
WeakFqnCache() |
Modifier and Type | Method and Description |
---|---|
void |
add(String fqn) |
void |
add(String fqn,
T userData) |
void |
clear() |
boolean |
contains(String fqn) |
T |
get(String fqn) |
Set<String> |
getFqns() |
FqnCacheNode<Reference<T>> |
getNode(String fqn) |
boolean |
remove(String fqn) |
void |
remove(String[] fqns) |
boolean |
visitDepthFirst(Predicate<T> visitor) |
boolean |
visitNodeDepthFirst(Predicate<FqnCacheNode> visitor) |
public FqnCacheNode<Reference<T>> getNode(String fqn)
public boolean visitDepthFirst(Predicate<T> visitor)
visitDepthFirst
in interface IFqnCache<T>
visitor
- returns whether or not to terminate visitingpublic boolean visitNodeDepthFirst(Predicate<FqnCacheNode> visitor)
visitNodeDepthFirst
in interface IFqnCache<T>
Copyright © 2024. All rights reserved.