Package 

Interface RegionCache

  • All Implemented Interfaces:

    
    public interface RegionCache
    
                        

    Desc: 获取 region entity 的抽象接口 默认从 region.dat 中获取, 还可以从比如数据库中获取 Mail: chk19940609@gmail.com Created by IceMimosa Date: 2017/1/12

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract RegionEntity get() 加载全部区域列表,按照行政区域划分构建树状结构关系
      abstract Map<Long, RegionEntity> getCache() 加载区域map结构, key是区域id, 值是区域实体
      abstract Unit addRegionEntity(RegionEntity entity) 新增一个region信息
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait