} else
if (entity instanceof SimulationContextType) {
SimulationContextType object = (SimulationContextType)entity;
- int he = object.getIndex();
- int me = this.getIndex();
+ long he = object.getIndex();
+ long me = this.getIndex();
if (me*he != 0) return (he == me);
else return this.getName().equals(object.getName());
} else {