home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / java / util / Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1.1 KB  |  40 lines

  1. package java.util;
  2.  
  3. class Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry implements Map.Entry {
  4.    // $FF: renamed from: e java.util.Map.Entry
  5.    private Map.Entry field_0;
  6.  
  7.    Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(Map.Entry var1) {
  8.       this.field_0 = var1;
  9.    }
  10.  
  11.    public Object getKey() {
  12.       return this.field_0.getKey();
  13.    }
  14.  
  15.    public Object getValue() {
  16.       return this.field_0.getValue();
  17.    }
  18.  
  19.    public Object setValue(Object var1) {
  20.       throw new UnsupportedOperationException();
  21.    }
  22.  
  23.    public int hashCode() {
  24.       return this.field_0.hashCode();
  25.    }
  26.  
  27.    public boolean equals(Object var1) {
  28.       if (!(var1 instanceof Map.Entry)) {
  29.          return false;
  30.       } else {
  31.          Map.Entry var2 = (Map.Entry)var1;
  32.          return Collections.access$100(this.field_0.getKey(), var2.getKey()) && Collections.access$100(this.field_0.getValue(), var2.getValue());
  33.       }
  34.    }
  35.  
  36.    public String toString() {
  37.       return this.field_0.toString();
  38.    }
  39. }
  40.