org.apache.struts2.util
Class PrefixTrie

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

public class PrefixTrie
extends java.lang.Object

Quickly matches a prefix to an object.


Constructor Summary
PrefixTrie()
           
 
Method Summary
 java.lang.Object get(java.lang.String key)
           
 void put(java.lang.String prefix, java.lang.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(java.lang.String prefix,
                java.lang.Object value)

get

public java.lang.Object get(java.lang.String key)


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