From 21490abbcc03f9bbd467a53d09dd5ab69c081edc Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Sat, 11 Mar 2017 05:00:39 -0500 Subject: Work on a new data structure: The directory A directory is a hierarchical map with easy access control. --- .../src/main/java/bjc/utils/esodata/TreeDict.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 BJC-Utils2/src/main/java/bjc/utils/esodata/TreeDict.java (limited to 'BJC-Utils2/src/main/java/bjc/utils') 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 { + private Map> children; + + private Map data; + + public T +} -- cgit v1.2.3