Code example for LinkedList

Methods: toArray

0
    /** 
     * @see LinekdList.toArray(); 
     */ 
    @Override 
    public final synchronized Object[] toArray() {
        return list.toArray();
    } 
 
    /** 
     * @see LinkedList.toArray(T[] type); 
     */ 
    @Override 
    public final synchronized <T> T[] toArray(final T[] type) {
        return list.toArray(type);
    } 
 
}