Create a unique hash for this material via its tuple.
(self)
| 150 | return (name, description, density, densityUnit) |
| 151 | |
| 152 | def __hash__(self): |
| 153 | """ |
| 154 | Create a unique hash for this material via its tuple. |
| 155 | """ |
| 156 | return hash(self.toTuple()) |
| 157 | |
| 158 | def __eq__(self, other): |
| 159 | """ |