All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.BitPosParams Maven / Gradle / Ivy

Go to download

A java client for github.com/antirez/redis, a fork of github.com/xetorthio/jedis

There is a newer version: 2.10.1
Show newest version
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