本文整理了Java中org.apache.commons.collections.Buffer.clear()
方法的一些代码示例,展示了Buffer.clear()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Buffer.clear()
方法的具体详情如下:
包路径:org.apache.commons.collections.Buffer
类名称:Buffer
方法名:clear
暂无
代码示例来源:origin: Graylog2/graylog2-server
@Override
public void stop() {
super.stop();
buffer.clear();
}
代码示例来源:origin: com.atlassian.core/atlassian-core
public void clear() {
buffer.clear();
}
}
代码示例来源:origin: PerfCake/PerfCake
@Override
public void reset() {
fifo.clear();
}
}
代码示例来源:origin: org.apache.jmeter/ApacheJMeter_core
/**
* Clear panel content
*/
public void clear() {
synchronized (events) {
events.clear();
}
logChanged = true;
}
}
代码示例来源:origin: org.graylog2/graylog2-server
@Override
public void stop() {
super.stop();
buffer.clear();
}
代码示例来源:origin: org.apache.jmeter/ApacheJMeter_components
/** {@inheritDoc} */
@Override
public void clearData() {
synchronized (buffer) {
buffer.clear();
dataChanged = true;
}
resultsRender.clearData();
resultsObject = null;
}
代码示例来源:origin: org.objectstyle.ashwood/ashwood
public void reset(Object newFirstVertex) {
if (!queue.isEmpty()) queue.clear();
if (!seen.isEmpty()) seen.clear();
this.firstVertex = newFirstVertex;
queue.add(firstVertex);
seen.add(firstVertex);
}
代码示例来源:origin: org.objectstyle.ashwood/ashwood
public void reset(Collection newFirstVertices, Attribute level) {
if (!queue.isEmpty()) queue.clear();
if (!seen.isEmpty()) seen.clear();
this.firstVertices = newFirstVertices;
this.level = level;
queue.addAll(firstVertices);
seen.addAll(firstVertices);
for (Iterator i = firstVertices.iterator(); i.hasNext(); ) {
level.set(i.next(), new Integer(0));
}
validTree = true;
}
代码示例来源:origin: org.opencms/opencms-core
break;
case PUBLISH_HISTORY:
m_publishHistory.clear();
break;
case PUBLISH_QUEUE:
m_publishQueue.clear();
break;
case RESOURCE:
代码示例来源:origin: org.opencms/opencms-solr
break;
case PUBLISH_HISTORY:
m_publishHistory.clear();
break;
case PUBLISH_QUEUE:
m_publishQueue.clear();
break;
case RESOURCE:
代码示例来源:origin: org.exoplatform.jcr/exo.jcr.component.core
mergeTasks.clear();
内容来源于网络,如有侵权,请联系作者删除!