package com.google.research.bleth.simulator;

/** An advertisement of a beacon. */
public class Transmission {
    final int advertisement;

    /**
     * @param eid the ephemeral ID of the beacon.
     */
    Transmission(int eid) {
        advertisement = eid;
    }
}

@@ -39,16 +39,43 @@
 lator;%0A%0A
+import java.util.Objects;%0A%0A
 /** An a
@@ -289,11 +289,319 @@
 d;%0A    %7D
+%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) %7B%0A            return true;%0A        %7D%0A        if (o == null %7C%7C getClass() != o.getClass()) %7B%0A            return false;%0A        %7D%0A        Transmission that = (Transmission) o;%0A        return advertisement == that.advertisement;%0A    %7D
 %0A%7D%0A

Add the method equals to Transmission.