|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.tomshut.util.LatinTrieNode<T>
public final class LatinTrieNode<T>
| Constructor Summary | |
|---|---|
LatinTrieNode()
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.util.Map.Entry<java.lang.CharSequence,T> o)
|
java.util.Set<java.util.Map.Entry<java.lang.CharSequence,T>> |
entrySet()
Returns a Set view of the child nodes of this trie node. |
boolean |
equals(java.lang.Object obj)
Compares the specified object with this entry for equality. |
java.lang.CharSequence |
getKey()
Returns the key corresponding to this entry. |
T |
getValue()
Returns the value corresponding to this entry. |
int |
hashCode()
Returns the hash code of the key if key is not null. |
boolean |
isEmpty()
Checks if this node doesn't contain a key and has no children |
boolean |
isValid()
Check if our node is valid. |
java.util.Set<java.lang.CharSequence> |
keySet()
Returns a Set view of the keys of the child nodes of this trie node. |
T |
setValue(T value)
Replaces the value corresponding to this entry with the specified value (optional operation). |
java.lang.String |
toDebugString()
|
java.lang.String |
toString()
|
java.util.Collection<T> |
values()
Returns a Collection view of the values contained in the child nodes of this trie node. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LatinTrieNode()
| Method Detail |
|---|
public final boolean isEmpty()
public final boolean isValid()
public final java.lang.CharSequence getKey()
getKey in interface java.util.Map.Entry<java.lang.CharSequence,T>public final T getValue()
getValue in interface java.util.Map.Entry<java.lang.CharSequence,T>public final T setValue(T value)
setValue in interface java.util.Map.Entry<java.lang.CharSequence,T>value - new value to be stored in this entry
public final java.lang.String toString()
toString in class java.lang.Objectpublic final java.lang.String toDebugString()
public final int hashCode()
hashCode in interface java.util.Map.Entry<java.lang.CharSequence,T>hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in interface java.util.Map.Entry<java.lang.CharSequence,T>equals in class java.lang.Objectobj - object to be compared for equality with this trie node
public final int compareTo(java.util.Map.Entry<java.lang.CharSequence,T> o)
compareTo in interface java.lang.Comparable<java.util.Map.Entry<java.lang.CharSequence,T>>public final java.util.Set<java.util.Map.Entry<java.lang.CharSequence,T>> entrySet()
public final java.util.Set<java.lang.CharSequence> keySet()
public final java.util.Collection<T> values()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||