```scala
override def equals(that: Any): Boolean = 
  that match {
    case other:TileIdWritable => other.get == this.get
    case _ => false
  }
```
Also hashCode should be overridden if equals is,

```scala
override def hashCode = get.hashCode
```