Fixed inconsitencies
This commit is contained in:
@ -35,6 +35,7 @@ class Tx implements ITx {
|
||||
|
||||
Tx(int id, TxStream stream, TxGenerator generator, EventTime begin){
|
||||
this.id=id
|
||||
this.stream=stream
|
||||
this.generator=generator
|
||||
this.beginTime=begin
|
||||
}
|
||||
@ -48,5 +49,10 @@ class Tx implements ITx {
|
||||
public Collection<ITxRelation> getOutgoingRelations() {
|
||||
return outgoingRelations;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int compareTo(ITx o) {
|
||||
return beginTime.compareTo(o.beginTime)
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user