home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- class TreeMap$Entry implements Map.Entry {
- Object key;
- Object value;
- TreeMap$Entry left = null;
- TreeMap$Entry right = null;
- TreeMap$Entry parent;
- boolean color = true;
-
- TreeMap$Entry(Object var1, Object var2, TreeMap$Entry var3) {
- this.key = var1;
- this.value = var2;
- this.parent = var3;
- }
-
- public Object getKey() {
- return this.key;
- }
-
- public Object getValue() {
- return this.value;
- }
-
- public Object setValue(Object var1) {
- Object var2 = this.value;
- this.value = var1;
- return var2;
- }
-
- public boolean equals(Object var1) {
- if (!(var1 instanceof Map.Entry)) {
- return false;
- } else {
- Map.Entry var2 = (Map.Entry)var1;
- return TreeMap.access$300(this.key, var2.getKey()) && TreeMap.access$300(this.value, var2.getValue());
- }
- }
-
- public int hashCode() {
- int var1 = this.key == null ? 0 : this.key.hashCode();
- int var2 = this.value == null ? 0 : this.value.hashCode();
- return var1 ^ var2;
- }
-
- public String toString() {
- return this.key + "=" + this.value;
- }
- }
-