home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- import java.io.Serializable;
-
- class Collections$UnmodifiableMap implements Map, Serializable {
- private static final long serialVersionUID = -1034234728574286014L;
- // $FF: renamed from: m java.util.Map
- private final Map field_0;
- private transient Set keySet = null;
- private transient Set entrySet = null;
- private transient Collection values = null;
-
- Collections$UnmodifiableMap(Map var1) {
- if (var1 == null) {
- throw new NullPointerException();
- } else {
- this.field_0 = var1;
- }
- }
-
- public int size() {
- return this.field_0.size();
- }
-
- public boolean isEmpty() {
- return this.field_0.isEmpty();
- }
-
- public boolean containsKey(Object var1) {
- return this.field_0.containsKey(var1);
- }
-
- public boolean containsValue(Object var1) {
- return this.field_0.containsValue(var1);
- }
-
- public Object get(Object var1) {
- return this.field_0.get(var1);
- }
-
- public Object put(Object var1, Object var2) {
- throw new UnsupportedOperationException();
- }
-
- public Object remove(Object var1) {
- throw new UnsupportedOperationException();
- }
-
- public void putAll(Map var1) {
- throw new UnsupportedOperationException();
- }
-
- public void clear() {
- throw new UnsupportedOperationException();
- }
-
- public Set keySet() {
- if (this.keySet == null) {
- this.keySet = Collections.unmodifiableSet(this.field_0.keySet());
- }
-
- return this.keySet;
- }
-
- public Set entrySet() {
- if (this.entrySet == null) {
- this.entrySet = new Collections.UnmodifiableMap.UnmodifiableEntrySet(this.field_0.entrySet());
- }
-
- return this.entrySet;
- }
-
- public Collection values() {
- if (this.values == null) {
- this.values = Collections.unmodifiableCollection(this.field_0.values());
- }
-
- return this.values;
- }
-
- public boolean equals(Object var1) {
- return this.field_0.equals(var1);
- }
-
- public int hashCode() {
- return this.field_0.hashCode();
- }
-
- public String toString() {
- return this.field_0.toString();
- }
- }
-