本文整理了Java中java.util.AbstractMap.size()
方法的一些代码示例,展示了AbstractMap.size()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AbstractMap.size()
方法的具体详情如下:
包路径:java.util.AbstractMap
类名称:AbstractMap
方法名:size
[英]This implementation returns its entry set's size.
[中]此实现返回其条目集的大小。
代码示例来源:origin: robovm/robovm
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: robovm/robovm
@Override public int size() {
return AbstractMap.this.size();
}
代码示例来源:origin: robovm/robovm
@Override public int size() {
return AbstractMap.this.size();
}
代码示例来源:origin: robovm/robovm
if (size() != map.size()) {
return false;
代码示例来源:origin: robovm/robovm
StringBuilder buffer = new StringBuilder(size() * 28);
buffer.append('{');
Iterator<Map.Entry<K, V>> it = entrySet().iterator();
代码示例来源:origin: geotools/geotools
/**
* Returns the number of key-value mappings in this map.
*
* @return the number of key-value mappings in this map.
*/
@Override
public int size() {
return super.size();
}
代码示例来源:origin: dragome/dragome-sdk
/**
* {@inheritDoc}
*
* <p>This implementation returns <tt>size() == 0</tt>.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: jtulach/bck2brwsr
/**
* {@inheritDoc}
*
* <p>This implementation returns <tt>size() == 0</tt>.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: FlexoVM/flexovm
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: com.mobidevelop.robovm/robovm-rt
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: MobiVM/robovm
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: ibinti/bugvm
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: org.geotools/gt-metadata
/**
* Returns the number of key-value mappings in this map.
*
* @return the number of key-value mappings in this map.
*/
@Override
public int size() {
return super.size();
}
代码示例来源:origin: com.jtransc/jtransc-rt
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: com.gluonhq/robovm-rt
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: MobiVM/robovm
@Override public int size() {
return AbstractMap.this.size();
}
代码示例来源:origin: com.bugvm/bugvm-rt
/**
* {@inheritDoc}
*
* <p>This implementation compares {@code size()} to 0.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: org.apidesign.bck2brwsr/emul
/**
* {@inheritDoc}
*
* <p>This implementation returns <tt>size() == 0</tt>.
*/
public boolean isEmpty() {
return size() == 0;
}
代码示例来源:origin: org.geotools/gt2-metadata
/**
* Returns the number of key-value mappings in this map.
*
* @return the number of key-value mappings in this map.
*/
public int size() {
return super.size();
}
代码示例来源:origin: teatrove/teatrove
public int size() {
if (mPrefix == null) {
return mMappings.size();
}
else {
return super.size();
}
}
内容来源于网络,如有侵权,请联系作者删除!