(final Object end)
| 37 | } |
| 38 | |
| 39 | private static BoundsCheck positiveStep(final Object end) { |
| 40 | return new BoundsCheck() { |
| 41 | public boolean exceededBounds(Object val){ |
| 42 | return Numbers.gte(val, end); |
| 43 | } |
| 44 | }; |
| 45 | } |
| 46 | |
| 47 | private static BoundsCheck negativeStep(final Object end) { |
| 48 | return new BoundsCheck() { |