상속: obj
예제 #1
0
        public static Object display_ucs2( bucs2        s,
					 output_port p )
        {
            p.write( s.value );
            return p;
        }
예제 #2
0
        public static Object write_ucs2( bucs2        s,
				       output_port p )
        {
            int          value= s.value;

            p.write( "#u" );
            p.write( hexa[ (value & 0xf000) >> 12 ] );
            p.write( hexa[ (value & 0x0f00) >> 8 ] );
            p.write( hexa[ (value & 0x00f0) >> 4 ] );
            p.write( hexa[ (value & 0x000f) ] );

            return p;
        }
예제 #3
0
 public static char CUCS2( bucs2  c )
 {
     return c.value;
 }