Package org.qiunet.cfg.wrapper
Interface INestMapCfgWrapper<ID,SubID,Cfg extends INestMapCfg<ID,SubID>>
- All Superinterfaces:
ICfgWrapper<ID,Cfg>
- All Known Subinterfaces:
INestMapCfgManager<ID,SubID, Cfg>
- All Known Implementing Classes:
NestMapJsonCfgManager
public interface INestMapCfgWrapper<ID,SubID,Cfg extends INestMapCfg<ID,SubID>>
extends ICfgWrapper<ID,Cfg>
- Author:
- qiunet 2020-04-23 11:54
-
Method Summary
Modifier and TypeMethodDescriptionallCfgs()得到所有的配置default boolean是否有该id的配置default boolean是否有该id的配置default CfggetCfgById(ID id, SubID subID) 根据id获得配置对象getCfgsById(ID id) 返回id 对应的mapdefault intsize()配置数量Methods inherited from interface org.qiunet.cfg.wrapper.ICfgWrapper
getCfgClass, list
-
Method Details
-
allCfgs
得到所有的配置- Returns:
-
getCfgById
根据id获得配置对象- Parameters:
id-- Returns:
-
getCfgsById
返回id 对应的map- Parameters:
id-- Returns:
-
contains
是否有该id的配置- Parameters:
id-- Returns:
-
contains
是否有该id的配置- Parameters:
id-- Returns:
-
size
default int size()Description copied from interface:ICfgWrapper配置数量- Specified by:
sizein interfaceICfgWrapper<ID,SubID> - Returns:
-