home *** CD-ROM | disk | FTP | other *** search
/ Sky at Night 2007 June / SAN CD 6-2007 CD-ROM 25.iso / pc / Software / AstroGrav_Win / Java / jre1.6.0 / lib / rt.jar / sun / util / PreHashedMap$2$1$1.class (.txt) < prev    next >
Encoding:
Java Class File  |  2006-11-29  |  1.5 KB  |  69 lines

  1. package sun.util;
  2.  
  3. import java.util.Map;
  4.  
  5. final class PreHashedMap$2$1$1 implements Map.Entry<String, V> {
  6.    // $FF: renamed from: k java.lang.String
  7.    String field_0;
  8.    // $FF: synthetic field
  9.    final PreHashedMap.2.1 this$2;
  10.  
  11.    PreHashedMap$2$1$1(PreHashedMap.2.1 var1) {
  12.       this.this$2 = var1;
  13.       this.field_0 = (String)this.this$2.i.next();
  14.    }
  15.  
  16.    public String getKey() {
  17.       return this.field_0;
  18.    }
  19.  
  20.    public V getValue() {
  21.       return (V)this.this$2.this$1.this$0.get(this.field_0);
  22.    }
  23.  
  24.    public int hashCode() {
  25.       Object var1 = this.this$2.this$1.this$0.get(this.field_0);
  26.       return this.field_0.hashCode() + (var1 == null ? 0 : var1.hashCode());
  27.    }
  28.  
  29.    public boolean equals(Object var1) {
  30.       if (var1 == this) {
  31.          return true;
  32.       } else if (!(var1 instanceof Map.Entry)) {
  33.          return false;
  34.       } else {
  35.          boolean var10000;
  36.          label43: {
  37.             label29: {
  38.                Map.Entry var2 = (Map.Entry)var1;
  39.                if (this.getKey() == null) {
  40.                   if (var2.getKey() != null) {
  41.                      break label29;
  42.                   }
  43.                } else if (!this.getKey().equals(var2.getKey())) {
  44.                   break label29;
  45.                }
  46.  
  47.                if (this.getValue() == null) {
  48.                   if (var2.getValue() == null) {
  49.                      break label43;
  50.                   }
  51.                } else if (this.getValue().equals(var2.getValue())) {
  52.                   break label43;
  53.                }
  54.             }
  55.  
  56.             var10000 = false;
  57.             return var10000;
  58.          }
  59.  
  60.          var10000 = true;
  61.          return var10000;
  62.       }
  63.    }
  64.  
  65.    public V setValue(V var1) {
  66.       throw new UnsupportedOperationException();
  67.    }
  68. }
  69.