{@inheritDoc}
()
| 434 | * {@inheritDoc} |
| 435 | */ |
| 436 | @Override |
| 437 | public int size() { |
| 438 | // If fully exclusive and borders are one apart, the size would be negative, take that into account |
| 439 | return Math.max(getTo() - getFrom() + 1, 0); |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * {@inheritDoc} |