if (offset < 0 || number < 1) {
throw notInteger();
}
}
Score min = _toscorerange(min1);
<BUG>Score max = _toscorerange(max2);
NavigableSet<ZSetEntry> entries = zset.subSet(new ZSetEntry(null, min.value), min.inclusive,
new ZSetEntry(null, max.value), max.inclusive);
if (reverse) entries = entries.descendingSet();</BUG>
int current = 0;

if (offset < 0 || number < 1) {
throw notInteger();
}
}
Score min = _toscorerange(min1);
Score max = _toscorerange(max2);
List<ZSetEntry> entries = zset.subSet(min.value, max.value);
if (reverse) Collections.reverse(entries);
int current = 0;
