{@inheritDoc}
()
| 564 | * {@inheritDoc} |
| 565 | */ |
| 566 | @Override |
| 567 | public int hashCode(){ |
| 568 | int hashCode; |
| 569 | final int from = this.getFrom(); |
| 570 | final int to = this.getTo(); |
| 571 | |
| 572 | hashCode = ((from+to+1)*(from+to))/2+to; |
| 573 | return hashCode; |
| 574 | } |
| 575 | } |