presto-spi/src/main/java/io/prestosql/spi/type/DoubleType.java/DoubleType/equals
class DoubleType:    @Override
    @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")
    public boolean equals(Object other)
    {
        return other == DOUBLE;
    }