public class RediSearchUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
ToByteArray(float[] input)
x86 systems are little-endian and Java defaults to big-endian.
|
static java.util.Map<java.lang.String,java.lang.String> |
toStringMap(java.util.Map<java.lang.String,java.lang.Object> input)
Jedis'
hset methods do not support Object s as values. |
public static java.util.Map<java.lang.String,java.lang.String> toStringMap(java.util.Map<java.lang.String,java.lang.Object> input)
hset
methods do not support Object
s as values. This method eases process
of converting a Map
with Objects as values so that the returning Map can be set to a
hset
method.input
- map with object valuepublic static byte[] ToByteArray(float[] input)
input
- float arrayCopyright © 2023. All rights reserved.