Interface ISimpleMapCfgWrapper<ID,Cfg extends ISimpleMapCfg<ID>>

All Superinterfaces:
ICfgWrapper<ID,Cfg>
All Known Subinterfaces:
ISimpleMapCfgManager<ID,Cfg>
All Known Implementing Classes:
SimpleMapJsonCfgManager

public interface ISimpleMapCfgWrapper<ID,Cfg extends ISimpleMapCfg<ID>> extends ICfgWrapper<ID,Cfg>
Author:
qiunet 2020-04-23 11:54
  • Method Summary

    Modifier and Type
    Method
    Description
    得到所有的配置
    default boolean
    是否有该id的配置
    default Cfg
    根据id获得配置对象
    default int
    配置数量

    Methods inherited from interface org.qiunet.cfg.wrapper.ICfgWrapper

    getCfgClass, list
  • Method Details

    • getCfgById

      default Cfg getCfgById(ID id)
      根据id获得配置对象
      Parameters:
      id -
      Returns:
    • allCfgs

      Map<ID,Cfg> allCfgs()
      得到所有的配置
      Returns:
    • size

      default int size()
      Description copied from interface: ICfgWrapper
      配置数量
      Specified by:
      size in interface ICfgWrapper<ID,Cfg extends ISimpleMapCfg<ID>>
      Returns:
    • contains

      default boolean contains(ID id)
      是否有该id的配置
      Parameters:
      id -
      Returns: