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

            Entry e = (Entry) obj;
            return (piece == e.piece) && (pieceRange.equals(e.pieceRange)) && (file.equals(e.file))
                && (fileRange.equals(e.fileRange));
        }