org.elasticsearch.common.path
Class PathTrie<T>

java.lang.Object
  extended by org.elasticsearch.common.path.PathTrie<T>

public class PathTrie<T>
extends Object


Nested Class Summary
static interface PathTrie.Decoder
           
 class PathTrie.TrieNode<T>
           
 
Field Summary
static PathTrie.Decoder NO_DECODER
           
 
Constructor Summary
PathTrie()
           
PathTrie(char separator, String wildcard, PathTrie.Decoder decoder)
           
PathTrie(PathTrie.Decoder decoder)
           
 
Method Summary
 void insert(String path, T value)
           
 T retrieve(String path)
           
 T retrieve(String path, Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_DECODER

public static final PathTrie.Decoder NO_DECODER
Constructor Detail

PathTrie

public PathTrie()

PathTrie

public PathTrie(PathTrie.Decoder decoder)

PathTrie

public PathTrie(char separator,
                String wildcard,
                PathTrie.Decoder decoder)
Method Detail

insert

public void insert(String path,
                   T value)

retrieve

public T retrieve(String path)

retrieve

public T retrieve(String path,
                  Map<String,String> params)


Copyright © 2009-2012. All Rights Reserved.