package edu.kit.ipd.crowdcontrol.workerservice;

/**
 * this class holds the workerID
 * @author LeanderK
 * @version 1.0
 */
public class WorkerID {
    private final int workerID;

    public WorkerID(int workerID) {
        this.workerID = workerID;
    }

    public int get() {
        return workerID;
    }
}

@@ -306,11 +306,325 @@
 D;%0A    %7D
+%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (!(o instanceof WorkerID)) return false;%0A%0A        WorkerID workerID1 = (WorkerID) o;%0A%0A        return workerID == workerID1.workerID;%0A%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        return workerID;%0A    %7D
 %0A%7D%0A

impl. hash/equals