redis.clients.jedis.util.KeyValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.util;
import java.util.AbstractMap.SimpleImmutableEntry;
public class KeyValue extends SimpleImmutableEntry {
public KeyValue(K key, V value) {
super(key, value);
}
public static KeyValue of(K key, V value) {
return new KeyValue<>(key, value);
}
}