本文整理了Java中org.eclipse.core.databinding.observable.set.WritableSet.isEmpty()
方法的一些代码示例,展示了WritableSet.isEmpty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WritableSet.isEmpty()
方法的具体详情如下:
包路径:org.eclipse.core.databinding.observable.set.WritableSet
类名称:WritableSet
方法名:isEmpty
暂无
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.da.ui.connection
@Override
public boolean isEmpty ()
{
return this.data.isEmpty ();
}
代码示例来源:origin: de.dentrassi.eclipse.neoscada.hmi/org.eclipse.scada.core.ui.connection
protected void removePath ( final List<String> path, final ConnectionHolder holder )
{
if ( path.isEmpty () )
{
// remove
this.implNode.getConnections ().remove ( holder );
if ( this.implNode.getConnections ().isEmpty () && this.parentNode != null )
{
this.parentNode.notifyEmpty ( this, this.implNode.getName () );
}
}
else
{
// pass on
final String name = path.remove ( 0 );
final GroupChildNode child = this.children.get ( name );
if ( child != null )
{
child.removePath ( path, holder );
}
}
}
代码示例来源:origin: org.eclipse.neoscada.hmi/org.eclipse.scada.core.ui.connection
protected void removePath ( final List<String> path, final ConnectionHolder holder )
{
if ( path.isEmpty () )
{
// remove
this.implNode.getConnections ().remove ( holder );
if ( this.implNode.getConnections ().isEmpty () && this.parentNode != null )
{
this.parentNode.notifyEmpty ( this, this.implNode.getName () );
}
}
else
{
// pass on
final String name = path.remove ( 0 );
final GroupChildNode child = this.children.get ( name );
if ( child != null )
{
child.removePath ( path, holder );
}
}
}
内容来源于网络,如有侵权,请联系作者删除!