it.unimi.dsi.fastutil.ints.IntSet.isEmpty()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(133)

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

IntSet.isEmpty介绍

暂无

代码示例

代码示例来源:origin: apache/incubator-pinot

if (matchingDictIds.isEmpty()) {
 return null;

代码示例来源:origin: apache/incubator-pinot

for (int i = 1; i < numPredicateEvaluators; i++) {
 if (matchingDictIds.isEmpty()) {
  return matchingDictIds;

代码示例来源:origin: com.linkedin.zoie/zoie-core

public boolean isEmpty()
{
 return _set.isEmpty();
}

代码示例来源:origin: senseidb/zoie

public boolean isEmpty() {
 return _set.isEmpty();
}

代码示例来源:origin: com.senseidb.zoie/zoie-core

public boolean isEmpty() {
 return _set.isEmpty();
}

代码示例来源:origin: com.metsci.glimpse/glimpse-extras-dnc

public void set( IntCollection indices )
{
  if ( !hSet.isEmpty( ) )
  {
    hSet.clear( );
    hSetChanged = true;
  }
  if ( hSet.addAll( indices ) )
  {
    hSetChanged = true;
  }
}

代码示例来源:origin: mezz/JustEnoughItems

matches = intersection(matches, searchResults);
if (matches.isEmpty()) {
  break;

代码示例来源:origin: com.io7m.jcanephora/com.io7m.jcanephora.fake

private void bindingRemoveTextureReference(
 final int texture_id,
 final int index)
{
 if (this.texture_to_units.containsKey(texture_id)) {
  final IntSet tc = this.texture_to_units.get(texture_id);
  tc.remove(index);
  if (tc.isEmpty()) {
   this.texture_to_units.remove(texture_id);
  }
 }
}

代码示例来源:origin: com.io7m.jcanephora/io7m-jcanephora-fake

private void bindingRemoveTextureReference(
 final int texture_id,
 final int index)
{
 if (this.texture_to_units.containsKey(texture_id)) {
  final IntSet tc = this.texture_to_units.get(texture_id);
  tc.remove(index);
  if (tc.isEmpty()) {
   this.texture_to_units.remove(texture_id);
  }
 }
}

相关文章