bool equals(Hash hash) { if (this == hash) { return true; } return DeepCollectionEquality().equals(this.getBytes(), hash.getBytes()); }