Re: ptolemy.actor.util.Time

2008-07-09 Thread Jia Zou
Hi Christopher, I checked through that list. I do have a questions: First, for classes like these: ptolemy/domains/gr/kernel/SceneGraphToken.java ptolemy/domains/gr/kernel/Scene2DToken.java ptolemy/data/ActorToken.java Each has a isEqualTo method (Not sure why we are not overwriting the equals

Re: ptolemy.actor.util.Time

2008-07-08 Thread Christopher Brooks
Hi Jia, Actually, the Javadoc for java.lang.Comparable says that java. Note that null is not an instance of any class, and e.compareTo(null) should throw a NullPointerException even though e.equals(null) returns false. So, equals(null) should return false and compareTo(null) should throw