@Override public long hash(Block block, int position) { throw new UnsupportedOperationException(getTypeSignature() + " type is not comparable"); }
@Override public int compareTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition) { throw new UnsupportedOperationException(getTypeSignature() + " type is not orderable"); }
@Override public boolean equalTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition) { throw new UnsupportedOperationException(getTypeSignature() + " type is not comparable"); }
@Override public String toString() { return getTypeSignature().toString(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } return this.getTypeSignature().equals(((Type) o).getTypeSignature()); }
@Override public boolean equalTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition) { throw new UnsupportedOperationException(getTypeSignature() + " type is not comparable"); }
@Override public long hash(Block block, int position) { throw new UnsupportedOperationException(getTypeSignature() + " type is not comparable"); }
@Override public int compareTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition) { throw new UnsupportedOperationException(getTypeSignature() + " type is not orderable"); }
@Override public String toString() { return getTypeSignature().toString(); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } return this.getTypeSignature().equals(((Type) o).getTypeSignature()); }