Package io.jmix.webdav.dto
Class Applications
java.lang.Object
io.jmix.webdav.dto.Applications
- All Implemented Interfaces:
Map<String,Application>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()compute(String key, BiFunction<? super String, ? super Application, ? extends Application> remappingFunction) computeIfAbsent(String key, Function<? super String, ? extends Application> mappingFunction) computeIfPresent(String key, BiFunction<? super String, ? super Application, ? extends Application> remappingFunction) booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanvoidforEach(BiConsumer<? super String, ? super Application> action) getApplicationByExtension(String extension) You would memoize function or make cache if it had performance issuegetOrDefault(Object key, Application defaultValue) inthashCode()booleanisEmpty()keySet()merge(String key, Application value, BiFunction<? super Application, ? super Application, ? extends Application> remappingFunction) put(String key, Application value) voidputAll(Map<? extends String, ? extends Application> m) putIfAbsent(String key, Application value) booleanreplace(String key, Application value) booleanreplace(String key, Application oldValue, Application newValue) voidreplaceAll(BiFunction<? super String, ? super Application, ? extends Application> function) intsize()values()
-
Field Details
-
delegate
-
-
Constructor Details
-
Applications
public Applications() -
Applications
-
-
Method Details
-
getApplicationByExtension
You would memoize function or make cache if it had performance issue- Parameters:
extension- for resolving application- Returns:
Applicationis resolved by extension or null if application not found
-
size
public int size()- Specified by:
sizein interfaceMap<String,Application>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap<String,Application>
-
containsKey
- Specified by:
containsKeyin interfaceMap<String,Application>
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Application>
-
get
- Specified by:
getin interfaceMap<String,Application>
-
put
- Specified by:
putin interfaceMap<String,Application>
-
remove
- Specified by:
removein interfaceMap<String,Application>
-
putAll
- Specified by:
putAllin interfaceMap<String,Application>
-
clear
public void clear()- Specified by:
clearin interfaceMap<String,Application>
-
keySet
- Specified by:
keySetin interfaceMap<String,Application>
-
values
- Specified by:
valuesin interfaceMap<String,Application>
-
entrySet
- Specified by:
entrySetin interfaceMap<String,Application>
-
equals
-
hashCode
public int hashCode() -
getOrDefault
- Specified by:
getOrDefaultin interfaceMap<String,Application>
-
forEach
- Specified by:
forEachin interfaceMap<String,Application>
-
replaceAll
public void replaceAll(BiFunction<? super String, ? super Application, ? extends Application> function) - Specified by:
replaceAllin interfaceMap<String,Application>
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceMap<String,Application>
-
remove
- Specified by:
removein interfaceMap<String,Application>
-
replace
- Specified by:
replacein interfaceMap<String,Application>
-
replace
- Specified by:
replacein interfaceMap<String,Application>
-
computeIfAbsent
public Application computeIfAbsent(String key, Function<? super String, ? extends Application> mappingFunction) - Specified by:
computeIfAbsentin interfaceMap<String,Application>
-
computeIfPresent
public Application computeIfPresent(String key, BiFunction<? super String, ? super Application, ? extends Application> remappingFunction) - Specified by:
computeIfPresentin interfaceMap<String,Application>
-
compute
public Application compute(String key, BiFunction<? super String, ? super Application, ? extends Application> remappingFunction) - Specified by:
computein interfaceMap<String,Application>
-
merge
public Application merge(String key, Application value, BiFunction<? super Application, ? super Application, ? extends Application> remappingFunction) - Specified by:
mergein interfaceMap<String,Application>
-