QuotaConfig.java 文件源码

java
阅读 28 收藏 0 点赞 0 评论 0

项目:ProjectAres 作者:
@Inject QuotaConfig(Configuration root) {
    this.config = root.getConfigurationSection("match-quotas");
    if(config == null) {
        quotas = new TreeSet<>();
    } else {
        quotas = new TreeSet<>(Collections2.transform(
            config.getKeys(false),
            new Function<String, Entry>() {
                @Override
                public Entry apply(@Nullable String key) {
                    return new Entry(config.getConfigurationSection(key));
                }
            }
        ));
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号