org.eclipse.collections.api.map.MutableMap.isEmpty()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(153)

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

MutableMap.isEmpty介绍

暂无

代码示例

代码示例来源:origin: eclipse/eclipse-collections

if (!missingEntries.isEmpty())

代码示例来源:origin: eclipse/eclipse-collections

@Override
  public void combineOne(SumByBigIntegerProcedure<T, V> thingToCombine)
  {
    if (this.result.isEmpty())
    {
      this.result.putAll(thingToCombine.getResult());
    }
    else
    {
      thingToCombine.getResult().forEachKeyValue((key, value) -> this.result.updateValue(key, Functions0.zeroBigInteger(), original -> original.add(value)));
    }
  }
}

代码示例来源:origin: eclipse/eclipse-collections

@Override
  public void combineOne(SumByBigDecimalProcedure<T, V> thingToCombine)
  {
    if (this.result.isEmpty())
    {
      this.result.putAll(thingToCombine.getResult());
    }
    else
    {
      thingToCombine.getResult().forEachKeyValue((key, value) -> this.result.updateValue(key, Functions0.zeroBigDecimal(), original -> original.add(value)));
    }
  }
}

代码示例来源:origin: eclipse/eclipse-collections

@Override
  public void combineOne(SumByBigDecimalProcedure<T, V> thingToCombine)
  {
    if (this.result.isEmpty())
    {
      this.result.putAll(thingToCombine.getResult());
    }
    else
    {
      thingToCombine.getResult().forEachKeyValue((key, value) -> this.result.updateValue(key, Functions0.zeroBigDecimal(), original -> original.add(value)));
    }
  }
}

代码示例来源:origin: eclipse/eclipse-collections

@Override
  public void combineOne(SumByBigIntegerProcedure<T, V> thingToCombine)
  {
    if (this.result.isEmpty())
    {
      this.result.putAll(thingToCombine.getResult());
    }
    else
    {
      thingToCombine.getResult().forEachKeyValue((key, value) -> this.result.updateValue(key, Functions0.zeroBigInteger(), original -> original.add(value)));
    }
  }
}

代码示例来源:origin: org.eclipse.collections/eclipse-collections-testutils

if (!missingEntries.isEmpty())

代码示例来源:origin: jenkinsci/warnings-ng-plugin

@Override
public boolean endRun(final MatrixRun run) {
  aggregationTableLock.lock();
  try {
    names.add(run.getParent().getName());
    List<ResultAction> actions = run.getActions(ResultAction.class);
    if (results.isEmpty()) {
      initializeMap(actions);
    }
    else {
      updateMap(actions);
    }
    run.getWorkspace();
  }
  finally {
    aggregationTableLock.unlock();
  }
  return true;
}

代码示例来源:origin: org.eclipse.collections/eclipse-collections

@Override
  public void combineOne(SumByBigDecimalProcedure<T, V> thingToCombine)
  {
    if (this.result.isEmpty())
    {
      this.result.putAll(thingToCombine.getResult());
    }
    else
    {
      thingToCombine.getResult().forEachKeyValue((key, value) -> this.result.updateValue(key, Functions0.zeroBigDecimal(), original -> original.add(value)));
    }
  }
}

代码示例来源:origin: org.eclipse.collections/eclipse-collections

@Override
  public void combineOne(SumByBigIntegerProcedure<T, V> thingToCombine)
  {
    if (this.result.isEmpty())
    {
      this.result.putAll(thingToCombine.getResult());
    }
    else
    {
      thingToCombine.getResult().forEachKeyValue((key, value) -> this.result.updateValue(key, Functions0.zeroBigInteger(), original -> original.add(value)));
    }
  }
}

相关文章

MutableMap类方法