(final QueryString qs)
| 130 | } |
| 131 | |
| 132 | @Override |
| 133 | public void toString(final QueryString qs) { |
| 134 | qs.function(Function.POSITION); |
| 135 | if(exact()) { |
| 136 | qs.token("=").token(min); |
| 137 | } else if(max == MAX_VALUE) { |
| 138 | qs.token(">=").token(min); |
| 139 | } else if(min == 1) { |
| 140 | qs.token("<=").token(max); |
| 141 | } else { |
| 142 | qs.token("=").token(min).token(TO).token(max); |
| 143 | } |
| 144 | } |
| 145 | } |