home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- import java.io.Serializable;
-
- class Collections$UnmodifiableCollection implements Collection, Serializable {
- private static final long serialVersionUID = 1820017752578914078L;
- // $FF: renamed from: c java.util.Collection
- Collection field_0;
-
- Collections$UnmodifiableCollection(Collection 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 contains(Object var1) {
- return this.field_0.contains(var1);
- }
-
- public Object[] toArray() {
- return this.field_0.toArray();
- }
-
- public Object[] toArray(Object[] var1) {
- return this.field_0.toArray(var1);
- }
-
- public String toString() {
- return this.field_0.toString();
- }
-
- public Iterator iterator() {
- return new Collections.1(this);
- }
-
- public boolean add(Object var1) {
- throw new UnsupportedOperationException();
- }
-
- public boolean remove(Object var1) {
- throw new UnsupportedOperationException();
- }
-
- public boolean containsAll(Collection var1) {
- return this.field_0.containsAll(var1);
- }
-
- public boolean addAll(Collection var1) {
- throw new UnsupportedOperationException();
- }
-
- public boolean removeAll(Collection var1) {
- throw new UnsupportedOperationException();
- }
-
- public boolean retainAll(Collection var1) {
- throw new UnsupportedOperationException();
- }
-
- public void clear() {
- throw new UnsupportedOperationException();
- }
- }
-