>>603
ま,大雑把過ぎたか,例の上から玉ころがし方式ならできなくはないね
最近の教科書はこういうのが流行りなのか?


>private Node<T> root = new Node<T>();

>if (left == null) {
>left = new Node<T>();
>}
>left.add(item);
少し無駄を感じるんだが‥‥ private Node<T> root = null で組めないか?

>if (this.item.compareTo(item) == 0) {
>this.item = null;
>return true;
この削除ルーチンはさすがに手抜きだろう‥‥Integer じゃなくて int だったらどうする?