Package | Description |
---|---|
org.springframework.data.redis.connection.zset |
Modifier and Type | Method and Description |
---|---|
Weights |
Weights.apply(Function<Double,Double> operator)
|
static Weights |
Weights.fromSetCount(int count)
Creates equal
Weights for a number of input sets count with a weight of one. |
Weights |
Weights.multiply(double multiplier)
Creates a new
Weights object that contains all weights multiplied by multiplier |
Weights |
Weights.multiply(int multiplier)
Creates a new
Weights object that contains all weights multiplied by multiplier |
static Weights |
Weights.of(double... weights)
|
static Weights |
Weights.of(int... weights)
|
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.