diff options
Diffstat (limited to 'BJC-Utils2')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/esodata/TreeDict.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/esodata/TreeDict.java b/BJC-Utils2/src/main/java/bjc/utils/esodata/TreeDict.java new file mode 100644 index 0000000..231abbc --- /dev/null +++ b/BJC-Utils2/src/main/java/bjc/utils/esodata/TreeDict.java @@ -0,0 +1,18 @@ +package bjc.utils.esodata; + +/** + * Represents a hierarchical map. + * + * What's useful about this is that you can hand sub-directories to people and + * be able to ensure that they can't write outside of it. + * + * @param K The key type of the map. + * @param V The value type of the map. + */ +public class TreeDict<K, V> { + private Map<K, TreeDict<K, V>> children; + + private Map<K, V> data; + + public T +} |
