本文整理了Java中org.babyfish.collection.XOrderedMap.remove()
方法的一些代码示例,展示了XOrderedMap.remove()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XOrderedMap.remove()
方法的具体详情如下:
包路径:org.babyfish.collection.XOrderedMap
类名称:XOrderedMap
方法名:remove
暂无
代码示例来源:origin: babyfish-ct/babyfish
public PathPlanKeyBuilder setQueryPaths(String alias, Collection<? extends QueryPath> queryPaths) {
if (queryPaths == null || queryPaths.isEmpty()) {
this.queryPathMap.remove(alias);
}
XOrderedSet<QueryPath> set = new LinkedHashSet<>((queryPaths.size() * 4 + 2) / 3);
for (QueryPath queryPath : queryPaths) {
if (queryPath != null) {
set.add(QueryPaths.toStandard(queryPath));
}
}
this.queryPathMap.put(alias, queryPaths.toArray(new QueryPath[set.size()]));
this.key = null;
return this;
}
代码示例来源:origin: babyfish-ct/babyfish
MethodNode clinitNode = this.newClassEntry.getMethodEntry(clinitDescriptor).methodNode;
if (clinitNode.instructions.size() == 0 && tmpInstructions.size() == 0) {
this.newClassEntry.methodEntries.remove(clinitDescriptor);
this.newClassEntry.classNode.methods.remove(clinitNode);
} else {
内容来源于网络,如有侵权,请联系作者删除!