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
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