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 / awt / AttributeValue.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  1001 b   |  38 lines

  1. package java.awt;
  2.  
  3. import sun.awt.DebugHelper;
  4.  
  5. abstract class AttributeValue {
  6.    private final int value;
  7.    private final String[] names;
  8.    private static final DebugHelper dbg;
  9.    // $FF: synthetic field
  10.    static Class class$java$awt$AttributeValue;
  11.  
  12.    protected AttributeValue(int var1, String[] var2) {
  13.       this.value = var1;
  14.       this.names = var2;
  15.    }
  16.  
  17.    public int hashCode() {
  18.       return this.value;
  19.    }
  20.  
  21.    public String toString() {
  22.       return this.names[this.value];
  23.    }
  24.  
  25.    // $FF: synthetic method
  26.    static Class class$(String var0) {
  27.       try {
  28.          return Class.forName(var0);
  29.       } catch (ClassNotFoundException var2) {
  30.          throw new NoClassDefFoundError(((Throwable)var2).getMessage());
  31.       }
  32.    }
  33.  
  34.    static {
  35.       dbg = DebugHelper.create(class$java$awt$AttributeValue == null ? (class$java$awt$AttributeValue = class$("java.awt.AttributeValue")) : class$java$awt$AttributeValue);
  36.    }
  37. }
  38.