2008-03-22 Java5でLongの比較 == ではだめね IT Long a = new Long(1); Long b = new Long(1); if (a == b) { .... } とやるのはだめみたいね。 equals使わないと。よく間違えるので備忘。