ネコと和解せよ

2008-03-10から1日間の記事一覧

Javaでのポインタの隠蔽

Cのポインタを隠蔽するためにJavaにポインタクラスを作った。 public class IntPointer { private int[] array_ref; //配列 private int array_offset; //配列に対する基準値 private int position; //array_offsetに対する現在位置 static IntPointer wrap(…