Save This Page
Home » commons-collections-3.2.1-src » org.apache.commons » collections » primitives » [javadoc | source]
org.apache.commons.collections.primitives
abstract public class: AbstractDoubleCollection [javadoc | source]
java.lang.Object
   org.apache.commons.collections.primitives.AbstractDoubleCollection

All Implemented Interfaces:
    DoubleCollection

Direct Known Subclasses:
    RandomAccessDoubleSubList, DoubleCollectionImpl, AbstractRandomAccessDoubleListImpl, RandomAccessDoubleList, ArrayDoubleList

Abstract base class for DoubleCollection s.

Read-only subclasses must override #iterator and #size . Mutable subclasses should also override #add and DoubleIterator.remove . All other methods have at least some base implementation derived from these. Subclasses may choose to override these methods to provide a more efficient implementation.

Constructor:
 protected AbstractDoubleCollection() 
Method from org.apache.commons.collections.primitives.AbstractDoubleCollection Summary:
add,   addAll,   clear,   contains,   containsAll,   isEmpty,   iterator,   removeAll,   removeElement,   retainAll,   size,   toArray,   toArray
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.collections.primitives.AbstractDoubleCollection Detail:
 public boolean add(double element) 
    Unsupported in this base implementation.
 public boolean addAll(DoubleCollection c) 
 public  void clear() 
 public boolean contains(double element) 
 public boolean containsAll(DoubleCollection c) 
 public boolean isEmpty() 
 abstract public DoubleIterator iterator()
 public boolean removeAll(DoubleCollection c) 
 public boolean removeElement(double element) 
 public boolean retainAll(DoubleCollection c) 
 abstract public int size()
 public double[] toArray() 
 public double[] toArray(double[] a)