net.sf.eos.trie
Class TrieSource.TrieEntry
java.lang.Object
net.sf.eos.trie.TrieSource.TrieEntry
- All Implemented Interfaces:
- Map.Entry<String,String>
- Enclosing interface:
- TrieSource
public static class TrieSource.TrieEntry
- extends Object
- implements Map.Entry<String,String>
Represents an entry in the Trie.
- Author:
- Sascha Kohlmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrieSource.TrieEntry
public TrieSource.TrieEntry(String key)
- Creates a new instance for the given key.
- Parameters:
key
- the key of the entry
TrieSource.TrieEntry
public TrieSource.TrieEntry(String key,
String value)
- Creates a new instance for the given key.
- Parameters:
key
- the key of the entryvalue
- the value of the entry
getKey
public String getKey()
- Specified by:
getKey
in interface Map.Entry<String,String>
- See Also:
Map.Entry.getKey()
getValue
public String getValue()
- Specified by:
getValue
in interface Map.Entry<String,String>
- See Also:
Map.Entry.getValue()
setValue
public String setValue(String value)
- Specified by:
setValue
in interface Map.Entry<String,String>
- See Also:
Map.Entry.setValue(Object)
Copyright © 2008. All Rights Reserved.