# $Id: jexc_sys_class.def,v 1.6 2002/03/29 20:16:00 m-hirano Exp $
# $RWC_Release: Omni-1.6 $
# $RWC_Copyright:
#  Omni Compiler Software Version 1.5-1.6
#  Copyright (C) 2002 PC Cluster Consortium
#  
#  This software is free software; you can redistribute it and/or modify
#  it under the terms of the GNU Lesser General Public License version
#  2.1 published by the Free Software Foundation.
#  
#  Omni Compiler Software Version 1.0-1.4
#  Copyright (C) 1999, 2000, 2001.
#   Tsukuba Research Center, Real World Computing Partnership, Japan.
#  
#  Please check the Copyright and License information in the files named
#  COPYRIGHT and LICENSE under the top  directory of the Omni Compiler
#  Software release kit.
#  
#  
#  $
# 
# System class definition
#

class java/lang/String java/lang/Object
 var    <link>  L; 			0
 var    <ptr>   L; 			1
 method <init> (Ljava/lang/StringBuffer;)V  	Lang_String_INIT1
 method <init>  ([C)V				Lang_String_INIT2
 method <init> ([CII)V				Lang_String_INIT3
 method valueOf ([C)Ljava/lang/String; 	Lang_String_valueOf_AChar
 method intern ()Ljava/lang/String; 	Lang_String_intern
 method equals (Ljava/lang/Object;)Z	Lang_String_equals
 method valueOf (Ljava/lang/Object;)Ljava/lang/String; Lang_String_valueOf_Object
 method indexOf (Ljava/lang/String;)I   Lang_String_indexOf_0
 method lastIndexOf (Ljava/lang/String;)I   Lang_String_lastIndexOf_0
 method charAt (I)C			Lang_String_charAt
 method compareTo (Ljava/lang/String;)I Lang_String_compareTo
 method indexOf (Ljava/lang/String;I)I  Lang_String_indexOf
 method lastIndexOf (Ljava/lang/String;I)I  Lang_String_lastIndexOf
 method length ()I			Lang_String_length
 method substring (I)Ljava/lang/String; Lang_String_substring
 method substring (II)Ljava/lang/String; Lang_String_substring2
 method endsWith (Ljava/lang/String;)Z   Lang_String_endsWith
 method startsWith (Ljava/lang/String;)Z Lang_String_startsWith
 method concat (Ljava/lang/String;)Ljava/lang/String; Lang_String_concat
 method valueOf (I)Ljava/lang/String;   Lang_String_valueOf_I
 method valueOf (J)Ljava/lang/String;   Lang_String_valueOf_J
 method valueOf (C)Ljava/lang/String;   Lang_String_valueOf_C
 method valueOf (D)Ljava/lang/String;   Lang_String_valueOf_D
 method valueOf (F)Ljava/lang/String;   Lang_String_valueOf_F
 method toCharArray ()[C		Lang_String_toCharArray

class java/lang/Integer java/lang/Object
 var    <val>  I			0
 method <init> (I)V			Lang_Integer_INIT
 method toString ()Ljava/lang/String;   Lang_Integer_toString
 method toString (I)Ljava/lang/String;    Lang_Integer_toString_I
 method toHexString (I)Ljava/lang/String; Lang_Integer_toHexString
 method toOctalString (I)Ljava/lang/String; Lang_Integer_toOctalString
 method parseInt (Ljava/lang/String;I)I	 Lang_Integer_parseInt
 method intValue ()I			 Lang_Integer_intValue
 method equals (Ljava/lang/Object;)Z    Lang_Integer_equals

class java/lang/Double java/lang/Object
 var    <val>  D			0
 static MIN_VALUE D			Lang_Double_MIN_VALUE
 static MAX_VALUE D			Lang_Double_MAX_VALUE
 method doubleToLongBits (D)J 		Lang_Double_D2J
 method longBitsToDouble (J)D		Lang_Double_J2D
 method equals (Ljava/lang/Object;)Z    Lang_Double_equals

class java/lang/Float java/lang/Object
 static MIN_VALUE F			Lang_Float_MIN_VALUE
 static MAX_VALUE F			Lang_Float_MAX_VALUE

class java/lang/Long java/lang/Object
 val    <val>  J			0
 method toHexString (J)Ljava/lang/String; Lang_Long_toHexString
 method equals (Ljava/lang/Object;)Z    Lang_Long_equals

class java/lang/Thread java/lang/Object
 method dumpStack ()V 			Lang_Thread_dumpStack

class java/lang/StringBuffer java/lang/Object
 var  	<ptr> L;			0
 method <init> ()V			Lang_StringBuffer_INIT
 method <init> (Ljava/lang/String;)V    Lang_StringBuffer_INIT1
 method append (I)Ljava/lang/StringBuffer; Lang_StringBuffer_append_I
 method append (Ljava/lang/String;)Ljava/lang/StringBuffer; Lang_StringBuffer_append_Lstring
 method append (Ljava/lang/Object;)Ljava/lang/StringBuffer; Lang_StringBuffer_append_L
 method append (C)Ljava/lang/StringBuffer; Lang_StringBuffer_append_C
 method append (J)Ljava/lang/StringBuffer; Lang_StringBuffer_append_J
 method append (D)Ljava/lang/StringBuffer; Lang_StringBuffer_append_D
 method append (F)Ljava/lang/StringBuffer; Lang_StringBuffer_append_F
 method toString ()Ljava/lang/String;   Lang_StringBuffer_toString

class java/lang/System java/lang/Object
 static out Ljava/io/PrintStream; 	Lang_System_out
 static err Ljava/io/PrintStream; 	Lang_System_err
 static in  Ljava/io/InputStream;	Lang_System_in
 method	<clinit> ()V  			Lang_System_CLINIT
 method	<init> ()V  			Lang_System_INIT
 method exit (I)V			Lang_System_exit
 method getProperty (Ljava/lang/String;)Ljava/lang/String; Lang_System_getProperty

class java/lang/Process java/lang/Object
 method exitValue ()I			Lang_Process_exitValue
 method getErrorStream ()Ljava/io/InputStream; Lang_Process_getErrorStream
 method waitFor ()I			Lang_Process_waitFor

class java/lang/Runtime java/lang/Object
 method getRuntime ()Ljava/lang/Runtime; Lang_Runtime_getRuntime
 method exec ([Ljava/lang/String;)Ljava/lang/Process; Lang_Runtime_exec

#
#  java.io class
#
class java/io/Reader  java/lang/Object
 var  	<ptr> L;			0
 method close ()V		Io_Reader_close
 method read ([C)I		Io_Reader_read
 method read ()I		Io_Reader_read1

class java/io/BufferedReader java/io/Reader
 method <init> (Ljava/io/Reader;I)V	Io_BufferedReader_INIT
 method <init> (Ljava/io/Reader;)V	Io_BufferedReader_INIT
 method read ()I			Io_Reader_read1
 method readLine ()Ljava/lang/String;   Io_Reader_readLine

class java/io/FileReader java/io/Reader
 method <init> (Ljava/lang/String;)V  	Io_FileReader_INIT
 method close ()V			Io_Reader_close
 method read ([C)I			Io_Reader_read
 method read ()I			Io_Reader_read1

class java/io/FileInputStream java/io/Reader
 method <init> (Ljava/lang/String;)V	Io_FileReader_INIT

class java/io/InputStreamReader java/io/Reader
 method <init> (Ljava/io/InputStream;)V Io_InputStreamReader_INIT

class java/io/InputStream java/io/Reader
 method read ()I			Io_Reader_read1

class java/io/Writer java/lang/Object
 var  <ptr> L;				0
 method close ()V			Io_Writer_close

class java/io/PrintWriter java/io/Writer
 method <init> (Ljava/io/OutputStream;)V	Io_PrintWriter_INIT1
 method <init> (Ljava/io/Writer;)V		Io_PrintWriter_INIT2
 method <init> (Ljava/io/OutputStream;Z)V	Io_PrintWriter_INIT3
 method <init> (Ljava/io/Writer;Z)V		Io_PrintWriter_INIT4
 method print (C)V				Io_PrintWriter_print_C
 method print (D)V				Io_PrintWriter_print_D
 method print (I)V				Io_PrintWriter_print_I
 method println (I)V				Io_PrintWriter_println_I
 method print (Ljava/lang/String;)V		Io_PrintWriter_print_String
 method println (Ljava/lang/String;)V		Io_PrintWriter_println_String
 method println (Ljava/lang/Object;)V		Io_PrintWriter_println_L
 method println ()V				Io_PrintWriter_println
 method flush ()V				Io_PrintWriter_flush

class java/io/PrintStream java/io/Writer
 method	<init> ()V  				Io_PrintStream_INIT
 method print (C)V				Io_PrintWriter_print_C
 method print (D)V				Io_PrintWriter_print_D
 method print (I)V				Io_PrintWriter_print_I
 method println (I)V				Io_PrintWriter_println_I
 method print (Ljava/lang/String;)V		Io_PrintWriter_print_String
 method println (Ljava/lang/String;)V		Io_PrintWriter_println_String
 method println (Ljava/lang/Object;)V		Io_PrintWriter_println_L
 method println ()V				Io_PrintWriter_println
 method flush ()V				Io_PrintWriter_flush
 method write (I)V				Io_PrintWriter_write

class java/io/BufferedWriter java/io/Writer
 method <init> (Ljava/io/Writer;I)V		Io_BufferedWriter_INIT

class java/io/OutputStreamWriter java/io/Writer
 method <init> (Ljava/io/OutputStream;)V  	Io_OutputStreamWriter_INIT

class java/io/FileWriter java/io/OutputStreamWriter
 method <init> (Ljava/lang/String;)V		Io_FileWriter_INIT

class java/io/FileOutputStream java/io/Writer
 method <init> (Ljava/lang/String;)V		Io_FileWriter_INIT

class java/io/File java/lang/Object
 var  	<ptr> L;			0
 method <init> (Ljava/lang/String;)V		Io_File_INIT
 method exists ()Z				Io_File_exist

#
# exceptions
#
class java/lang/Exception java/lang/Object

class java/io/IOException java/lang/Exception

class java/io/FileNotFoundException java/io/IOException

class java/lang/IndexOutOfBoundsException java/lang/Exception

class java/lang/InterruptedException java/lang/Exception

class java/lang/NumberFormatException java/lang/Exception

#
# util
#
class java/util/Enumeration *interface*
 method hasMoreElements ()Z		*
 method nextElement ()Ljava/lang/Object; *

class <vectorEnumeration> java/lang/Object
 implements java/util/Enumeration
 var    <vec>	L;			0
 var    <ptr>   I			0
 method hasMoreElements ()Z		Utl_vectEnum_hasMoreElements
 method nextElement ()Ljava/lang/Object; Utl_vectEnum_nextElement

class java/util/Vector java/lang/Object
 var    <vec>	L;			0
 var	<size>  I			Utl_Vector_SIZE
 var	<cap_incr> I			Utl_Vector_cap_incr
 method <init> ()V 				Utl_Vector_INIT
 method addElement (Ljava/lang/Object;)V	Utl_Vector_addElement
 method elementAt (I)Ljava/lang/Object; 	Utl_Vector_elementAt
 method indexOf (Ljava/lang/Object;)I		Utl_Vector_indexOf
 method removeElementAt (I)V			Utl_Vector_removeElementAt
 method removeElement (Ljava/lang/Object;)Z	Utl_Vector_removeElement
 method setElementAt (Ljava/lang/Object;I)V	Utl_Vector_setElementAt
 method size ()I				Utl_Vector_size
 method isEmpty ()Z				Utl_Vector_isEmpty
 method elements ()Ljava/util/Enumeration;	Utl_Vector_elements
 method contains (Ljava/lang/Object;)Z		Utl_Vector_contains

class java/util/Stack java/util/Vector
 method <init> ()V				Utl_Vector_INIT
 method empty ()Z				Utl_Vector_isEmpty
 method peek ()Ljava/lang/Object;		Utl_Stack_peek
 method pop ()Ljava/lang/Object;		Utl_Stack_pop
 method push (Ljava/lang/Object;)Ljava/lang/Object;	Utl_Stack_push

class java/util/Hashtable java/lang/Object
 var    <keys> L;			Utl_Hashtable_keys
 var    <vals> L;			Utl_Hashtable_vals
 var    <num_keys> I			Utl_Hashtable_num_keys
 var    <load_factor> F			Utl_Hashtable_load_factor
 method <init> ()V				Utl_Hashtable_INIT
 method <init> (IF)V				Utl_Hashtable_INIT1
 method get (Ljava/lang/Object;)Ljava/lang/Object; Utl_Hashtable_get
 method put (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; Utl_Hashtable_put










