home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- class Collections$SingletonMap$ImmutableEntry implements Map.Entry {
- // $FF: renamed from: k java.lang.Object
- final Object field_0;
- // $FF: renamed from: v java.lang.Object
- final Object field_1;
-
- Collections$SingletonMap$ImmutableEntry(Object var1, Object var2) {
- this.field_0 = var1;
- this.field_1 = var2;
- }
-
- public Object getKey() {
- return this.field_0;
- }
-
- public Object getValue() {
- return this.field_1;
- }
-
- public Object setValue(Object var1) {
- throw new UnsupportedOperationException();
- }
-
- public boolean equals(Object var1) {
- if (!(var1 instanceof Map.Entry)) {
- return false;
- } else {
- Map.Entry var2 = (Map.Entry)var1;
- return Collections.access$100(var2.getKey(), this.field_0) && Collections.access$100(var2.getValue(), this.field_1);
- }
- }
-
- public int hashCode() {
- return (this.field_0 == null ? 0 : this.field_0.hashCode()) ^ (this.field_1 == null ? 0 : this.field_1.hashCode());
- }
-
- public String toString() {
- return this.field_0 + "=" + this.field_1;
- }
- }
-