/**
  * Two eventOut's are equal if they are connected to the same actual node and field.
  *
  * @param other The object to compare against.
  */
 public boolean equals(Object other) {
   if (other == null) return false;
   else if (other instanceof EventWrapper) {
     EventWrapper otherWrapper = (EventWrapper) other;
     return (otherWrapper.getFieldNode() == theNode
         && otherWrapper.getFieldID() == theFieldID
         && otherWrapper.getType() == getType());
   } else return super.equals(other);
 }