public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCacheKey(Class type,
Map<String,Object> qo,
Map<String,Integer> sort,
Map<String,Object> projection,
String collection,
int skip,
int limit,
AnnotationAndReflectionHelper anHelper) |
static String |
getHex(byte by) |
static String |
getHex(byte[] b) |
static String |
getHex(byte[] b,
int sz) |
static String |
getHex(int i) |
static String |
getHex(long i) |
static Map<String,Integer> |
getIntMap(String key,
Integer value) |
static <K,V> Map<K,V> |
getMap(K key,
V value) |
static Collection |
replaceMorphiumIds(Collection value) |
static Object |
replaceMorphiumIds(Map m) |
static String |
toJsonString(Object o) |
public static final String[] hexChars
public static <K,V> Map<K,V> getMap(K key, V value)
public static String getHex(long i)
public static String getHex(int i)
public static String getHex(byte[] b)
public static String getHex(byte[] b, int sz)
public static String getHex(byte by)
public static String getCacheKey(Class type, Map<String,Object> qo, Map<String,Integer> sort, Map<String,Object> projection, String collection, int skip, int limit, AnnotationAndReflectionHelper anHelper)
public static Collection replaceMorphiumIds(Collection value)
Copyright © 2019. All rights reserved.