org.apache.nutch.util
Class TrieStringMatcher.TrieNode

java.lang.Object
  extended by org.apache.nutch.util.TrieStringMatcher.TrieNode
All Implemented Interfaces:
Comparable
Enclosing class:
TrieStringMatcher

protected class TrieStringMatcher.TrieNode
extends Object
implements Comparable

Node class for the character tree.


Field Summary
protected  TrieStringMatcher.TrieNode[] children
           
protected  LinkedList childrenList
           
protected  char nodeChar
           
protected  boolean terminal
           
 
Method Summary
 int compareTo(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

protected TrieStringMatcher.TrieNode[] children

childrenList

protected LinkedList childrenList

nodeChar

protected char nodeChar

terminal

protected boolean terminal
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable


Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.