Artifact 1a310b4b3c671a5a24e0762119248fd679d59edaf94aaac34b7478a50938b1d5:
- Executable file
r37/lisp/csl/jlisp/CONSTANT_Class_info.java
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 787) [annotate] [blame] [check-ins using] [more...]
// created 02/02/02 import java.io.*; public class CONSTANT_Class_info extends Cp_info { public static void main(String[] args) throws IOException { short index = (short)0x11; CONSTANT_Class_info ci = new CONSTANT_Class_info(index); ci.printBytes(ci.dumpBytes()); short index2 = (short)0x12; CONSTANT_Class_info ci2 = new CONSTANT_Class_info(index2); ci2.printBytes(ci2.dumpBytes()); } short name_index; //constructor CONSTANT_Class_info(short nameIndex)throws IOException { tag = CONSTANT_Class; name_index = nameIndex; info = shortToByteArray(name_index); } } // end of CONSTANT_Class_info.java