Class TrieImpl

java.lang.Object
net.sourceforge.plantuml.tim.TrieImpl
All Implemented Interfaces:
Trie

public class TrieImpl extends java.lang.Object implements Trie
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(java.lang.String s)
     
    java.lang.String
    getLonguestMatchStartingIn(java.lang.String s)
     
    boolean
    remove(java.lang.String s)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TrieImpl

      public TrieImpl()
  • Method Details

    • add

      public void add(java.lang.String s)
      Specified by:
      add in interface Trie
    • remove

      public boolean remove(java.lang.String s)
    • getLonguestMatchStartingIn

      public java.lang.String getLonguestMatchStartingIn(java.lang.String s)
      Specified by:
      getLonguestMatchStartingIn in interface Trie