@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Posting posting = (Posting) o;

        if (id != posting.id) return false;
        return dataRef == posting.dataRef;

    }
Represents an entry in a posting list, containing an integer id and integer data reference.

@author Magnar Nedland
predicate-search/src/main/java/com/yahoo/search/predicate/index/Posting.java