ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/ArrayDeque.java
(Generate patch)

Comparing jsr166/src/main/java/util/ArrayDeque.java (file contents):
Revision 1.30 by jsr166, Sun May 18 23:47:55 2008 UTC vs.
Revision 1.32 by jsr166, Wed Jun 8 00:21:52 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Josh Bloch of Google Inc. and released to the public domain,
3 < * as explained at http://creativecommons.org/licenses/publicdomain.
3 > * as explained at http://creativecommons.org/publicdomain/zero/1.0/.
4   */
5  
6   package java.util;
7 import java.io.*;
7  
8   /**
9   * Resizable-array implementation of the {@link Deque} interface.  Array
# Line 52 | Line 51 | import java.io.*;
51   * @param <E> the type of elements held in this collection
52   */
53   public class ArrayDeque<E> extends AbstractCollection<E>
54 <                           implements Deque<E>, Cloneable, Serializable
54 >                           implements Deque<E>, Cloneable, java.io.Serializable
55   {
56      /**
57       * The array in which the elements of the deque are stored.
# Line 805 | Line 804 | public class ArrayDeque<E> extends Abstr
804       * followed by all of its elements (each an object reference) in
805       * first-to-last order.
806       */
807 <    private void writeObject(ObjectOutputStream s) throws IOException {
807 >    private void writeObject(java.io.ObjectOutputStream s)
808 >            throws java.io.IOException {
809          s.defaultWriteObject();
810  
811          // Write out size
# Line 820 | Line 820 | public class ArrayDeque<E> extends Abstr
820      /**
821       * Deserialize this deque.
822       */
823 <    private void readObject(ObjectInputStream s)
824 <            throws IOException, ClassNotFoundException {
823 >    private void readObject(java.io.ObjectInputStream s)
824 >            throws java.io.IOException, ClassNotFoundException {
825          s.defaultReadObject();
826  
827          // Read in size and allocate array

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines