AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
FlashMapImpl(Context ctx,
Cookie template) |
Modifier and Type | Method and Description |
---|---|
String |
compute(String key,
BiFunction<? super String,? super String,? extends String> remappingFunction) |
String |
computeIfAbsent(String key,
Function<? super String,? extends String> mappingFunction) |
String |
computeIfPresent(String key,
BiFunction<? super String,? super String,? extends String> remappingFunction) |
FlashMap |
keep()
Keep flash cookie for next request.
|
String |
merge(String key,
String value,
BiFunction<? super String,? super String,? extends String> remappingFunction) |
String |
put(String key,
String value) |
void |
putAll(Map<? extends String,? extends String> m) |
String |
putIfAbsent(String key,
String value) |
String |
remove(Object key) |
boolean |
remove(Object key,
Object value) |
String |
replace(String key,
String value) |
boolean |
replace(String key,
String oldValue,
String newValue) |
void |
replaceAll(BiFunction<? super String,? super String,? extends String> function) |
clear, clone, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, size, values
equals, hashCode, toString
clear, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, size, values
public FlashMap keep()
FlashMap
public String compute(String key, BiFunction<? super String,? super String,? extends String> remappingFunction)
public String computeIfAbsent(String key, Function<? super String,? extends String> mappingFunction)
computeIfAbsent
in interface Map<String,String>
computeIfAbsent
in class HashMap<String,String>
public String computeIfPresent(String key, BiFunction<? super String,? super String,? extends String> remappingFunction)
computeIfPresent
in interface Map<String,String>
computeIfPresent
in class HashMap<String,String>
public String merge(String key, String value, BiFunction<? super String,? super String,? extends String> remappingFunction)
public String putIfAbsent(String key, String value)
putIfAbsent
in interface Map<String,String>
putIfAbsent
in class HashMap<String,String>
public void replaceAll(BiFunction<? super String,? super String,? extends String> function)
replaceAll
in interface Map<String,String>
replaceAll
in class HashMap<String,String>
Copyright © 2019. All rights reserved.