* A range is empty when start and end are the same token, except if * that is the minimum token, in which case the range covers the * whole ring. This is consistent with the behavior of CQL range * queries. * * @returns {boolean} Whether this range is empty.
()
| 182 | * @returns {boolean} Whether this range is empty. |
| 183 | */ |
| 184 | isEmpty() { |
| 185 | return this.start.equals(this.end) && !this.start.equals(this._tokenizer.minToken()); |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * A range wraps around the end of the ring when the start token |
no test coverage detected