org.rutil.collection.trie.matcher
Class TokenMatcher<VALUE_TYPE>

java.lang.Object
  extended by org.rutil.collection.trie.matcher.TokenMatcher<VALUE_TYPE>
All Implemented Interfaces:
TrieMatcher<VALUE_TYPE>

public class TokenMatcher<VALUE_TYPE>
extends java.lang.Object
implements TrieMatcher<VALUE_TYPE>

Author:
mohan

Field Summary
protected  Tokenizer tokenizer
           
 
Constructor Summary
TokenMatcher(Tokenizer tokenizer)
           
 
Method Summary
 java.util.Iterator<VALUE_TYPE> find(Trie<VALUE_TYPE> trie, java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tokenizer

protected Tokenizer tokenizer
Constructor Detail

TokenMatcher

public TokenMatcher(Tokenizer tokenizer)
Method Detail

find

public java.util.Iterator<VALUE_TYPE> find(Trie<VALUE_TYPE> trie,
                                           java.lang.String key)
Specified by:
find in interface TrieMatcher<VALUE_TYPE>