@Override
    public ColumnFamilyDescriptor[] getColumnFamilies() {
      return families.values().toArray(new ColumnFamilyDescriptor[families.size()]);
    }
Compares the descriptor with another descriptor which is passed as a parameter. This compares
the content of the two descriptors and not the reference.
@param other The MTD to compare
@return 0 if the contents of the descriptors are exactly matching, 1 if there is a mismatch
        in the contents
hbase-client/src/main/java/org/apache/hadoop/hbase/client/TableDescriptorBuilder.java