redis.clients.jedis.BitPosParams Maven / Gradle / Ivy
package redis.clients.jedis;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
public class BitPosParams {
private List params = new ArrayList();
protected BitPosParams() {
}
public BitPosParams(long start) {
params.add(Protocol.toByteArray(start));
}
public BitPosParams(long start, long end) {
this(start);
params.add(Protocol.toByteArray(end));
}
public Collection getParams() {
return Collections.unmodifiableCollection(params);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy