public class ConfigCurdManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
HEAD_KEY |
static String |
TAIL_KEY |
Constructor and Description |
---|
ConfigCurdManager() |
ConfigCurdManager(boolean isConfigMap) |
Modifier and Type | Method and Description |
---|---|
void |
addAfter(String targetName,
String name,
Map<String,String> map)
在目标Map后加入Map
|
void |
addBefore(String targetName,
String name,
Map<String,String> map)
在目标Map前加入Map
|
void |
addFirst(String name,
Map<String,String> map)
在队首加入Map
|
void |
addLast(String name,
Map<String,String> map)
在队尾加入Map
|
protected void |
computeTempMap() |
boolean |
ifExistTargetMapItem(String name) |
void |
removeMapItem(String name) |
void |
replace(String name,
Map<String,String> map)
替换目标Map
|
public static final String HEAD_KEY
public static final String TAIL_KEY
public ConfigCurdManager()
public ConfigCurdManager(boolean isConfigMap)
protected void computeTempMap()
public void addLast(String name, Map<String,String> map)
name
- 新Map的名称map
- public void addFirst(String name, Map<String,String> map)
name
- 新Map的名称map
- public void addAfter(String targetName, String name, Map<String,String> map)
targetName
- 目标Mapname
- 新Map的名称map
- public boolean ifExistTargetMapItem(String name)
public void addBefore(String targetName, String name, Map<String,String> map)
targetName
- 目标Mapname
- 新Map的名称map
- public void replace(String name, Map<String,String> map)
name
- 被替换的Map的名称map
- public void removeMapItem(String name)
Copyright © 2006–2018 TinyGroup. All rights reserved.