gnu.trove.map.TIntIntMap.isEmpty()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(84)

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

TIntIntMap.isEmpty介绍

[英]Returns true if this map contains no key-value mappings.
[中]如果此映射不包含键值映射,则返回true。

代码示例

代码示例来源:origin: alibaba/mdrill

public boolean isEmpty(){
  synchronized( mutex ) { return m.isEmpty(); }
}
public boolean containsKey( int key ) {

代码示例来源:origin: alibaba/mdrill

public boolean isEmpty()                { return m.isEmpty(); }
public boolean containsKey( int key )   { return m.containsKey( key ); }

代码示例来源:origin: palantir/atlasdb

private synchronized boolean isReadLockHeld() {
  return readLockHolders != null && !readLockHolders.isEmpty();
}

代码示例来源:origin: com.palantir.patches.sourceforge/trove3

@Override
public boolean isEmpty(){
  synchronized( mutex ) { return m.isEmpty(); }
}
@Override

代码示例来源:origin: net.sf.trove4j/trove4j

public boolean isEmpty(){
  synchronized( mutex ) { return m.isEmpty(); }
}
public boolean containsKey( int key ) {

代码示例来源:origin: net.sf.trove4j/trove4j

public boolean isEmpty()                { return m.isEmpty(); }
public boolean containsKey( int key )   { return m.containsKey( key ); }

代码示例来源:origin: net.sf.trove4j/core

public boolean isEmpty(){
  synchronized( mutex ) { return m.isEmpty(); }
}
public boolean containsKey( int key ) {

代码示例来源:origin: hernad/easyrec

public boolean isEmpty(){
  synchronized( mutex ) { return m.isEmpty(); }
}
public boolean containsKey( int key ) {

代码示例来源:origin: com.palantir.patches.sourceforge/trove3

@Override
public boolean isEmpty()                { return m.isEmpty(); }
@Override

代码示例来源:origin: net.sf.trove4j/core

public boolean isEmpty()                { return m.isEmpty(); }
public boolean containsKey( int key )   { return m.containsKey( key ); }

代码示例来源:origin: hernad/easyrec

public boolean isEmpty()                { return m.isEmpty(); }
public boolean containsKey( int key )   { return m.containsKey( key ); }

代码示例来源:origin: SlimeKnights/TinkersConstruct

if(assigned.isEmpty()) {
 return ItemStack.EMPTY;

代码示例来源:origin: com.conveyal/r5

if (accessTimes.isEmpty()) {
  LOG.info("Skipping transit search since no transit stops were reached.");
  for (int target = 0; target < nonTransitTravelTimesToDestinations.length; target++) {

代码示例来源:origin: conveyal/r5

if (accessTimes.isEmpty()) {
  LOG.info("Skipping transit search since no transit stops were reached.");
  for (int target = 0; target < nonTransitTravelTimesToDestinations.length; target++) {

代码示例来源:origin: conveyal/r5

if (s1.turnRestrictions != null && s1.turnRestrictions.isEmpty()) s1.turnRestrictions = null;

代码示例来源:origin: com.conveyal/r5

if (s1.turnRestrictions != null && s1.turnRestrictions.isEmpty()) s1.turnRestrictions = null;

相关文章