{@inheritDoc}
()
| 479 | * {@inheritDoc} |
| 480 | */ |
| 481 | @Override |
| 482 | public int size() { |
| 483 | if (size == -1) { |
| 484 | calcSize(from, to, stepSize); |
| 485 | } |
| 486 | return size; |
| 487 | } |
| 488 | |
| 489 | /** |
| 490 | * Calculates and caches the size for the supplied range parameters. |