@return whether the given structure's type and pointer match.
(Object o)
| 1795 | * @return whether the given structure's type and pointer match. |
| 1796 | */ |
| 1797 | @Override |
| 1798 | public boolean equals(Object o) { |
| 1799 | return o instanceof Structure |
| 1800 | && o.getClass() == getClass() |
| 1801 | && ((Structure)o).getPointer().equals(getPointer()); |
| 1802 | } |
| 1803 | |
| 1804 | /** |
| 1805 | * @return hash code for this structure's pointer. |
no test coverage detected