Equality operator for objects of type Sort.
(Object o)
| 29 | * Equality operator for objects of type Sort. |
| 30 | **/ |
| 31 | @Override |
| 32 | public boolean equals(Object o) |
| 33 | { |
| 34 | if (o == this) return true; |
| 35 | if (!(o instanceof Sort)) return false; |
| 36 | Sort other = (Sort) o; |
| 37 | |
| 38 | return (getContext().nCtx() == other.getContext().nCtx()) && |
| 39 | (Native.isEqSort(getContext().nCtx(), getNativeObject(), other.getNativeObject())); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Hash code generation for Sorts |
no test coverage detected