Clover Coverage Report - Backport Util Concurrent v3.0
Coverage timestamp: Fri May 9 2008 11:05:23 EST
../../../../../../img/srcFileCovDistChart0.png 93% of files have more coverage
3   32   3   1
0   11   1   3
3     1  
1    
 
  AbstractList       Line # 17 3 3 0% 0.0
 
No Tests
 
1    /*
2    * Written by Dawid Kurzyniec, based on public domain code written by Doug Lea
3    * and publictly available documentation, and released to the public domain, as
4    * explained at http://creativecommons.org/licenses/publicdomain
5    */
6   
7    package edu.emory.mathcs.backport.java.util;
8    import edu.emory.mathcs.backport.java.util.concurrent.helpers.Utils;
9   
10    /**
11    * Overrides toArray() and toArray(Object[]) in AbstractCollection to provide
12    * implementations valid for concurrent lists.
13    *
14    * @author Doug Lea
15    * @author Dawid Kurzyniec
16    */
 
17    public abstract class AbstractList extends java.util.AbstractList {
18   
19    /**
20    * Sole constructor. (For invocation by subclass constructors, typically
21    * implicit.)
22    */
 
23  0 toggle protected AbstractList() { super(); }
24   
 
25  0 toggle public Object[] toArray() {
26  0 return Utils.collectionToArray(this);
27    }
28   
 
29  0 toggle public Object[] toArray(Object[] a) {
30  0 return Utils.collectionToArray(this, a);
31    }
32    }