|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjecteTextReader.User.HighlighterEntry<K,V>
K - the key classV - the value classclass User.HighlighterEntry<K,V>
Provides a simple implementation of the Map.Entry interface, allowing storage of a key and value pair
| Field Summary | |
|---|---|
private K |
key
|
private V |
value
|
| Constructor Summary | |
|---|---|
protected |
User.HighlighterEntry(K key,
V value)
|
| Method Summary | |
|---|---|
K |
getKey()
|
V |
getValue()
|
V |
setValue(V value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
|---|
equals, hashCode |
| Field Detail |
|---|
private K key
private V value
| Constructor Detail |
|---|
protected User.HighlighterEntry(K key,
V value)
| Method Detail |
|---|
public K getKey()
getKey in interface java.util.Map.Entry<K,V>public V getValue()
getValue in interface java.util.Map.Entry<K,V>public V setValue(V value)
setValue in interface java.util.Map.Entry<K,V>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||