code: public final int compareTo(byte[] name2) {
      if (name == name2)
        return 0;
      int len1 = (name == null ? 0 : name.length);
      int len2 = (name2 == null ? 0 : name2.length);
      int n = Math.min(len1, len2);
      byte b1, b2;
      for (int i = 0; i < n; i++) {
        b1 = name[i];
        b2 = name2[i];
        if (b1 != b2)
          return b1 - b2;
      }
      return len1 - len2;
    }
docs: Compare names of the inodes
  
  @return a negative integer, zero, or a positive integer