public class OKv extends LinkedHashMap<String,Object> implements FastKv<OKv>
OKv 与 Kv 的唯一区别在于 OKv 继承自 LinkedHashMap,而 Kv 继承自 HashMap 所以对 OKv 中的数据进行迭代输出的次序与数据插入的先后次序一致
Example: OKv para = OKv.by("id", 123); User user = user.findFirst(getSqlPara("find", para));
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OKv() |
| Modifier and Type | Method and Description |
|---|---|
static OKv |
by(Map<String,?> map) |
static OKv |
by(String key,
Object value) |
static OKv |
create() |
Kv |
kv() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitas, as, bigdecimal, bigdecimal, bigint, bigint, bool, bool, date, date, date, delete, doubler, doubler, exists, floater, floater, integer, integer, longer, longer, notNullValue, nullValue, number, number, origin, set, set, shorter, shorter, string, string, timestamp, timestamp, timestamp, valueclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesCopyright © 2018. All rights reserved.