public class AbstractMultiInitMap<Key,Value,Params> extends InitMapDefault<Pair<Key,Params>,Value> implements MergesValues<Key,Params,Value>
valueProviderALWAYS_NULL, CLASS_NAME, PASS_THRU, TO_STRING| Constructor and Description |
|---|
AbstractMultiInitMap(ConvertsValue<Key,String> keyConverter) |
AbstractMultiInitMap(ConvertsValue<Key,String> keyConverter,
ConvertsValue<Pair<Key,Params>,Value> valueConverter) |
| Modifier and Type | Method and Description |
|---|---|
protected static <Key,Value> |
adapt(ConvertsValue<Key,String> keyConverter) |
protected Params |
defaultParams() |
Value |
get(Key key,
Params params) |
protected Value |
initialize(Key key,
Params params) |
Value |
initialize(Pair<Key,Params> params) |
protected boolean |
isClearState() |
protected void |
logInitError(Pair<Key,Params> params,
Throwable e) |
Value |
merge(Key key1,
Params key2) |
void |
setClearState(boolean clearImmediately) |
static <Params,Value> |
stringMultiInitMap(ConvertsValue<Params,Value> converter) |
clearValues, createInitMap, forKeys, getValue, hasKey, iterator, keys, removeValue, setValuecontainsKey, convert, get, getLock, isMultiThreaded, put, toKeyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AbstractMultiInitMap(ConvertsValue<Key,String> keyConverter)
public AbstractMultiInitMap(ConvertsValue<Key,String> keyConverter, ConvertsValue<Pair<Key,Params>,Value> valueConverter)
protected static <Key,Value> ConvertsValue<Pair<Key,Value>,String> adapt(ConvertsValue<Key,String> keyConverter)
public static <Params,Value> AbstractMultiInitMap<String,Value,Params> stringMultiInitMap(ConvertsValue<Params,Value> converter)
protected boolean isClearState()
public void setClearState(boolean clearImmediately)
public final Value initialize(Pair<Key,Params> params)
initialize in interface InitMap<Pair<Key,Params>,Value>initialize in class InitMapDefault<Pair<Key,Params>,Value>params - - The Key used when value was null.protected Params defaultParams()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.