本文整理了Java中org.eclipse.collections.api.map.MutableMap.isEmpty()
方法的一些代码示例,展示了MutableMap.isEmpty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MutableMap.isEmpty()
方法的具体详情如下:
包路径:org.eclipse.collections.api.map.MutableMap
类名称: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)));
}
}
}
内容来源于网络,如有侵权,请联系作者删除!