Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.util
Class PrefixTrie

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

    public class PrefixTrie

extends Object

Quickly matches a prefix to an object.

Nested Class Summary
`(package private) static class` | `PrefixTrie.Node`

Field Summary
`(package private) PrefixTrie.Node` | `root`
`private static int` | `SIZE`

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`

Field Detail

### SIZE

    private static final int SIZE

See Also:
  Constant Field Values

### root

    PrefixTrie.Node root

Constructor Detail

### PrefixTrie

    public PrefixTrie()

Method Detail

### put

    public void put(String prefix,
                    Object value)

### get

    public Object get(String key)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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