(Object obj)
| 45 | } |
| 46 | |
| 47 | @Override |
| 48 | public boolean equals(Object obj) { |
| 49 | if (obj == null) return false; |
| 50 | // only ids of the same subclass are comparable |
| 51 | if (obj.getClass() != this.getClass()) return false; |
| 52 | return ((Id)obj).id_ == id_; |
| 53 | } |
| 54 | |
| 55 | @Override |
| 56 | public int compareTo(Id<IdType> cmp) { |
no outgoing calls
no test coverage detected