|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectLinkedTreeMap.Entry<K,V>
static class LinkedTreeMap.Entry<K,V>
Node in the Tree. Doubles as a means to pass key-value pairs back to user (see Map.Entry).
| Field Summary | |
|---|---|
(package private) boolean |
color
|
(package private) K |
key
|
(package private) LinkedTreeMap.Entry<K,V> |
left
|
(package private) LinkedTreeMap.Entry<K,V> |
next
|
(package private) LinkedTreeMap.Entry<K,V> |
parent
|
(package private) LinkedTreeMap.Entry<K,V> |
previous
|
(package private) LinkedTreeMap.Entry<K,V> |
right
|
(package private) V |
value
|
| Constructor Summary | |
|---|---|
LinkedTreeMap.Entry(K key,
V value,
LinkedTreeMap.Entry<K,V> parent)
Make a new cell with given key, value, and parent, and with null child links, and BLACK color. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
K |
getKey()
Returns the key. |
V |
getValue()
Returns the value associated with the key. |
int |
hashCode()
|
V |
setValue(V value)
Replaces the value currently associated with the key with the given value. |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
K key
V value
LinkedTreeMap.Entry<K,V> left
LinkedTreeMap.Entry<K,V> right
LinkedTreeMap.Entry<K,V> parent
LinkedTreeMap.Entry<K,V> next
LinkedTreeMap.Entry<K,V> previous
boolean color
| Constructor Detail |
|---|
LinkedTreeMap.Entry(K key,
V value,
LinkedTreeMap.Entry<K,V> parent)
| Method Detail |
|---|
public K getKey()
getKey in interface Map.Entry<K,V>public V getValue()
getValue in interface Map.Entry<K,V>public V setValue(V value)
setValue in interface Map.Entry<K,V>public boolean equals(Object o)
equals in interface Map.Entry<K,V>equals in class Objectpublic int hashCode()
hashCode in interface Map.Entry<K,V>hashCode in class Objectpublic String toString()
toString in class Object
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||