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

  1. package java.util;
  2.  
  3. import java.io.Serializable;
  4.  
  5. class Collections$UnmodifiableSortedSet extends Collections.UnmodifiableSet implements SortedSet, Serializable {
  6.    // $FF: renamed from: ss java.util.SortedSet
  7.    private SortedSet field_0;
  8.  
  9.    Collections$UnmodifiableSortedSet(SortedSet var1) {
  10.       super(var1);
  11.       this.field_0 = var1;
  12.    }
  13.  
  14.    public Comparator comparator() {
  15.       return this.field_0.comparator();
  16.    }
  17.  
  18.    public SortedSet subSet(Object var1, Object var2) {
  19.       return new Collections$UnmodifiableSortedSet(this.field_0.subSet(var1, var2));
  20.    }
  21.  
  22.    public SortedSet headSet(Object var1) {
  23.       return new Collections$UnmodifiableSortedSet(this.field_0.headSet(var1));
  24.    }
  25.  
  26.    public SortedSet tailSet(Object var1) {
  27.       return new Collections$UnmodifiableSortedSet(this.field_0.tailSet(var1));
  28.    }
  29.  
  30.    public Object first() {
  31.       return this.field_0.first();
  32.    }
  33.  
  34.    public Object last() {
  35.       return this.field_0.last();
  36.    }
  37. }
  38.