comparison servlet/src/digilib/auth/HashTree.java @ 269:6e6bf5aa7ad2

Servlet version 1.21b3 - searching in directories got faster (real binarySearch now!) - cached file lists get disposed - some code cleaning (Map types instead of HashMap)
author robcast
date Tue, 12 Oct 2004 16:06:43 +0200
parents 6221d688eab6
children e758a49258e8
comparison
equal deleted inserted replaced
268:2c7747cc1838 269:6e6bf5aa7ad2
35 * 35 *
36 * @author casties 36 * @author casties
37 */ 37 */
38 public class HashTree { 38 public class HashTree {
39 39
40 private HashMap table; 40 private Map table;
41 41
42 private String twigSep = "/"; 42 private String twigSep = "/";
43 43
44 private String leafSep = ","; 44 private String leafSep = ",";
45 45
51 * 51 *
52 * @param t 52 * @param t
53 * @param twig_separator 53 * @param twig_separator
54 * @param leaf_separator 54 * @param leaf_separator
55 */ 55 */
56 public HashTree(HashMap t, String twig_separator, String leaf_separator) { 56 public HashTree(Map t, String twig_separator, String leaf_separator) {
57 table = t; 57 table = t;
58 twigSep = twig_separator; 58 twigSep = twig_separator;
59 leafSep = leaf_separator; 59 leafSep = leaf_separator;
60 optimizeTable(); 60 optimizeTable();
61 } 61 }