iterates over all values and returns true if one value matches. Also see containsWithinBounds.
(Object value)
| 614 | * Also see containsWithinBounds. |
| 615 | */ |
| 616 | @Override |
| 617 | public boolean contains(Object value) { |
| 618 | if (value == null) { |
| 619 | return false; |
| 620 | } |
| 621 | final Iterator it = new StepIterator(this, stepSize); |
| 622 | while (it.hasNext()) { |
| 623 | if (compareEqual(value, it.next())) { |
| 624 | return true; |
| 625 | } |
| 626 | } |
| 627 | return false; |
| 628 | } |
| 629 | |
| 630 | /** |
| 631 | * {@inheritDoc} |
nothing calls this directly
no test coverage detected