You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by nd...@apache.org on 2006/07/22 06:19:38 UTC

svn commit: r424520 - /incubator/harmony/standard/sandbox/juc-proposal/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java

Author: ndbeyer
Date: Fri Jul 21 21:19:37 2006
New Revision: 424520

URL: http://svn.apache.org/viewvc?rev=424520&view=rev
Log:
Add serialization method stubs.

Modified:
    incubator/harmony/standard/sandbox/juc-proposal/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java

Modified: incubator/harmony/standard/sandbox/juc-proposal/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
URL: http://svn.apache.org/viewvc/incubator/harmony/standard/sandbox/juc-proposal/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java?rev=424520&r1=424519&r2=424520&view=diff
==============================================================================
--- incubator/harmony/standard/sandbox/juc-proposal/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java (original)
+++ incubator/harmony/standard/sandbox/juc-proposal/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java Fri Jul 21 21:19:37 2006
@@ -1,20 +1,24 @@
-/* Copyright 2006 The Apache Software Foundation or its licensors, as applicable
+/*
+ * Copyright 2006 The Apache Software Foundation or its licensors, as applicable
  * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
  * 
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  * 
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
  */
 
 package java.util.concurrent;
 
+import java.io.IOException;
+import java.io.ObjectInputStream;
+import java.io.ObjectOutputStream;
 import java.io.Serializable;
 import java.util.Collection;
 import java.util.Iterator;
@@ -25,19 +29,19 @@
 public class CopyOnWriteArrayList<E> implements List<E>, RandomAccess, Cloneable, Serializable {
 
     private static final long serialVersionUID = 8673264195747942595L;
-    
+
     public CopyOnWriteArrayList() {
         super();
     }
-    
+
     public CopyOnWriteArrayList(Collection<? extends E> c) {
         super();
     }
-    
+
     public CopyOnWriteArrayList(E[] array) {
         super();
     }
-    
+
     public boolean add(E e) {
         return false;
     }
@@ -52,18 +56,18 @@
     public boolean addAll(int index, Collection<? extends E> c) {
         return false;
     }
-    
+
     public int addAllAbsent(Collection<? extends E> c) {
         return 0;
     }
-    
+
     public boolean addIfAbsent(E e) {
         return false;
     }
 
     public void clear() {
     }
-    
+
     public Object clone() {
         return null;
     }
@@ -75,7 +79,7 @@
     public boolean containsAll(Collection<?> c) {
         return false;
     }
-    
+
     public boolean equals(Object o) {
         return false;
     }
@@ -83,7 +87,7 @@
     public E get(int index) {
         return null;
     }
-    
+
     public int hashCode() {
         return 0;
     }
@@ -91,7 +95,7 @@
     public int indexOf(E e, int index) {
         return 0;
     }
-    
+
     public int indexOf(Object o) {
         return 0;
     }
@@ -107,7 +111,7 @@
     public int lastIndexOf(E e, int index) {
         return 0;
     }
-    
+
     public int lastIndexOf(Object o) {
         return 0;
     }
@@ -158,5 +162,13 @@
 
     public String toString() {
         return null;
+    }
+
+    private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
+
+    }
+
+    private void writeObject(ObjectOutputStream s) throws IOException {
+
     }
 }