@Override
    public boolean equals (Object obj) {
        if (!(obj instanceof TorrentInfoSection)) {
            return false;
        }

        TorrentInfoSection tis = (TorrentInfoSection) obj;

        return hash.equals(tis.hash) && name.equals(tis.name) && pieceLength == tis.pieceLength && priv == tis.priv
            && pieceHashes.equals(tis.pieceHashes) && baseDir.equals(tis.baseDir) && files.equals(tis.files);
    }