package com.splicemachine.si.impl;

/**
 * The arguments passed into the intersect method. This object is used as a key in the cache that memoizes the method.
 */
public class IntersectArgs {
    final boolean collapse;
    final ImmutableTransaction transaction1;
    final ImmutableTransaction transaction2;

    public IntersectArgs(boolean collapse, ImmutableTransaction transaction1, ImmutableTransaction transaction2) {
        this.collapse = collapse;
        this.transaction1 = transaction1;
        this.transaction2 = transaction2;
    }
}

@@ -542,11 +542,290 @@
 2;%0A    %7D
+%0A%0A    @Override%0A    public int hashCode() %7B%0A    %09long x = transaction1.getLongTransactionId();%0A    %09long y = transaction2.getLongTransactionId();%0A        int result = (int) (x %5E (x %3E%3E%3E 32));%0A        result = 31 * result + (int) (y %5E (y %3E%3E%3E 32));%0A        return result;%0A    %7D%0A    
 %0A%7D%0A

Implement Hash Function