Added the ability to use Double.MIN_VALUE and Double.MAX_VALUE when calling sorted set methods to represent "-inf" and "+inf" respectively.

This commit is contained in:
Hisham Mardam-Bey
2011-06-09 23:24:56 -04:00
parent f9608e9364
commit 03d4208318
2 changed files with 47 additions and 11 deletions

View File

@@ -2047,8 +2047,8 @@ public class Jedis extends BinaryJedis implements JedisCommands {
* @see #zcount(String, double, double)
*
* @param key
* @param min
* @param max
* @param min a double or Double.MIN_VALUE for "-inf"
* @param max a double or Double.MAX_VALUE for "+inf"
* @return Multi bulk reply specifically a list of elements in the specified
* score range.
*/