org.apache.struts2.util
Class PrefixTrie

java.lang.Object
  extended by org.apache.struts2.util.PrefixTrie

public class PrefixTrie
extends Object

Quickly matches a prefix to an object.


Constructor Summary
PrefixTrie()
           
 
Method Summary
 Object get(String key)
           
 void put(String prefix, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefixTrie

public PrefixTrie()
Method Detail

put

public void put(String prefix,
                Object value)

get

public Object get(String key)


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.