public class MapClassReplacement extends Object implements MethodReplacementClass
CONSUME_INSTANCE_METHOD_NAME| Constructor and Description |
|---|
MapClassReplacement() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
containsKey(Map c,
Object o,
String idTemplate) |
static boolean |
containsValue(Map c,
Object o,
String idTemplate) |
static Object |
get(Map map,
Object key,
String idTemplate) |
static Object |
getOrDefault(Map map,
Object key,
Object defaultValue,
String idTemplate) |
Class<?> |
getTargetClass() |
static boolean |
isEmpty(Map caller,
String idTemplate) |
static boolean |
remove(Map map,
Object key,
Object value,
String idTemplate) |
static boolean |
replace(Map map,
Object key,
Object oldValue,
Object newValue,
String idTemplate) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetClass, getTargetClassName, isAvailablepublic Class<?> getTargetClass()
getTargetClass in interface MethodReplacementClasspublic static Object getOrDefault(Map map, Object key, Object defaultValue, String idTemplate)
Copyright © 2016–2024. All rights reserved.