@Override
    public int hashCode() {
      int result = ns.hashCode();
      result = 31 * result + tn.hashCode();
      return result;
    }
Tests for various kinds of TableNames.
hbase-common/src/test/java/org/apache/hadoop/hbase/TestTableName.java