站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

AbstractCollection (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.util.concurrent.locks
Class AbstractCollection

java.lang.Object
  extended by java.util.AbstractCollection
      extended by org.drools.util.concurrent.locks.AbstractCollection
All Implemented Interfaces:
Iterable, Collection
Direct Known Subclasses:
AbstractQueue

public abstract class AbstractCollection
extends AbstractCollection

Overrides toArray() and toArray(Object[]) in AbstractCollection to provide implementations valid for concurrent collections.

Author:
Doug Lea, Dawid Kurzyniec

Constructor Summary
protected AbstractCollection()
          Sole constructor.
 
Method Summary
 Object[] toArray()
           
 Object[] toArray(Object[] a)
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

AbstractCollection

protected AbstractCollection()
Sole constructor. (For invocation by subclass constructors, typically implicit.)

Method Detail

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection
Overrides:
toArray in class AbstractCollection

toArray

public Object[] toArray(Object[] a)
Specified by:
toArray in interface Collection
Overrides:
toArray in class AbstractCollection


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.