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.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PrefixTrie()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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–2026 Apache Software Foundation. All rights reserved.