X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fjetty%2Forg%2Feclipse%2Fjetty%2Futil%2FTreeTrie.java;h=d791151ee13d29c3dbe2cbdf45b97b4cfeb282c0;hb=ba4f228fa9f72d50991a2218cfd83987ef5d385e;hp=42f3bdccaddc7857d8a352e2552eaf0d74686733;hpb=73ef54a38e3930a1a789cdc6b5fa23cdd4c9d086;p=gigi.git diff --git a/lib/jetty/org/eclipse/jetty/util/TreeTrie.java b/lib/jetty/org/eclipse/jetty/util/TreeTrie.java index 42f3bdcc..d791151e 100644 --- a/lib/jetty/org/eclipse/jetty/util/TreeTrie.java +++ b/lib/jetty/org/eclipse/jetty/util/TreeTrie.java @@ -1,6 +1,6 @@ // // ======================================================================== -// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd. +// Copyright (c) 1995-2016 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the terms of the Eclipse Public License v1.0 @@ -31,6 +31,15 @@ import java.util.Set; *
This implementation is always case insensitive and is optimal for * a variable number of fixed strings with few special characters. *
+ *This Trie is stored in a Tree and is unlimited in capacity
+ * + *This Trie is not Threadsafe and contains no mutual exclusion + * or deliberate memory barriers. It is intended for an ArrayTrie to be + * built by a single thread and then used concurrently by multiple threads + * and not mutated during that access. If concurrent mutations of the + * Trie is required external locks need to be applied. + *
+ * * @param