Package net.sourceforge.plantuml.tim
Class TrieImpl
java.lang.Object
net.sourceforge.plantuml.tim.TrieImpl
- All Implemented Interfaces:
Trie
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) -
remove
public boolean remove(java.lang.String s) -
getLonguestMatchStartingIn
public java.lang.String getLonguestMatchStartingIn(java.lang.String s) - Specified by:
getLonguestMatchStartingIn
in interfaceTrie
-