public Digester digest(boolean b) {
        md.update((byte) (b? 1 : 0));
        return this;
    }
Updates the digest with a boolean.
@param b the boolean
@return this digester
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/Digester.java