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$EmptyList.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  904 b   |  28 lines

  1. package java.util;
  2.  
  3. import java.io.Serializable;
  4.  
  5. class Collections$EmptyList extends AbstractList implements Serializable {
  6.    private static final long serialVersionUID = 8842843931221139166L;
  7.  
  8.    private Collections$EmptyList() {
  9.    }
  10.  
  11.    public int size() {
  12.       return 0;
  13.    }
  14.  
  15.    public boolean contains(Object var1) {
  16.       return false;
  17.    }
  18.  
  19.    public Object get(int var1) {
  20.       throw new IndexOutOfBoundsException("Index: " + var1);
  21.    }
  22.  
  23.    // $FF: synthetic method
  24.    Collections$EmptyList(Collections.1 var1) {
  25.       this();
  26.    }
  27. }
  28.