org.babyfish.collection.XOrderedMap.remove()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(103)

本文整理了Java中org.babyfish.collection.XOrderedMap.remove()方法的一些代码示例,展示了XOrderedMap.remove()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XOrderedMap.remove()方法的具体详情如下:
包路径:org.babyfish.collection.XOrderedMap
类名称:XOrderedMap
方法名:remove

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 {

相关文章