home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- class Collections$UnmodifiableList extends Collections.UnmodifiableCollection implements List {
- static final long serialVersionUID = -283967356065247728L;
- private List list;
-
- Collections$UnmodifiableList(List var1) {
- super(var1);
- this.list = var1;
- }
-
- public boolean equals(Object var1) {
- return this.list.equals(var1);
- }
-
- public int hashCode() {
- return this.list.hashCode();
- }
-
- public Object get(int var1) {
- return this.list.get(var1);
- }
-
- public Object set(int var1, Object var2) {
- throw new UnsupportedOperationException();
- }
-
- public void add(int var1, Object var2) {
- throw new UnsupportedOperationException();
- }
-
- public Object remove(int var1) {
- throw new UnsupportedOperationException();
- }
-
- public int indexOf(Object var1) {
- return this.list.indexOf(var1);
- }
-
- public int lastIndexOf(Object var1) {
- return this.list.lastIndexOf(var1);
- }
-
- public boolean addAll(int var1, Collection var2) {
- throw new UnsupportedOperationException();
- }
-
- public ListIterator listIterator() {
- return this.listIterator(0);
- }
-
- public ListIterator listIterator(int var1) {
- return new Collections.2(this, var1);
- }
-
- public List subList(int var1, int var2) {
- return new Collections$UnmodifiableList(this.list.subList(var1, var2));
- }
-
- // $FF: synthetic method
- static List access$000(Collections$UnmodifiableList var0) {
- return var0.list;
- }
- }
-