package de.tubs.ibr.dtn.streaming;

import de.tubs.ibr.dtn.api.SingletonEndpoint;

public class StreamId {
    public SingletonEndpoint source = null;
    public int correlator = 0;
}

@@ -175,10 +175,667 @@
 or = 0;%0A
+    %0A    @Override%0A    public String toString() %7B%0A        return source + %22#%22 + Integer.valueOf(correlator);%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (o instanceof StreamId) %7B%0A            StreamId other = (StreamId)o;%0A            if (other.correlator == correlator) %7B%0A                if ((source == null) && (other.source == null)) return true;%0A                return source.equals(other.source);%0A            %7D%0A            return false;%0A        %7D%0A        return super.equals(o);%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        if (source == null) return correlator;%0A        return source.hashCode() %5E correlator;%0A    %7D%0A
 %7D%0A

Add toString(), equals() and hashCode() to StreamId