harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r449163 - /incubator/harmony/enhanced/classlib/trunk/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
Date Sat, 23 Sep 2006 05:14:55 GMT
Author: ndbeyer
Date: Fri Sep 22 22:14:54 2006
New Revision: 449163

URL: http://svn.apache.org/viewvc?view=rev&rev=449163
Log:
Add exceptions to indicate that this class is not yet implemented.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java?view=diff&rev=449163&r1=449162&r2=449163
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/concurrent/src/main/java/java/util/concurrent/CopyOnWriteArrayList.java
Fri Sep 22 22:14:54 2006
@@ -1,9 +1,10 @@
 /*
- * 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 to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with this
+ * work for additional information regarding copyright ownership. The ASF
+ * licenses this file to you 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
  * 
@@ -32,143 +33,152 @@
 
     public CopyOnWriteArrayList() {
         super();
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public CopyOnWriteArrayList(Collection<? extends E> c) {
         super();
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public CopyOnWriteArrayList(E[] array) {
         super();
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean add(E e) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public void add(int index, E e) {
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean addAll(Collection<? extends E> c) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean addAll(int index, Collection<? extends E> c) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public int addAllAbsent(Collection<? extends E> c) {
-        return 0;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean addIfAbsent(E e) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public void clear() {
+        throw new RuntimeException("Not yet implemented.");
     }
 
+    @Override
     public Object clone() {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean contains(Object o) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean containsAll(Collection<?> c) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
+    @Override
     public boolean equals(Object o) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public E get(int index) {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
+    @Override
     public int hashCode() {
-        return 0;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public int indexOf(E e, int index) {
-        return 0;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public int indexOf(Object o) {
-        return 0;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean isEmpty() {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public Iterator<E> iterator() {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public int lastIndexOf(E e, int index) {
-        return 0;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public int lastIndexOf(Object o) {
-        return 0;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public ListIterator<E> listIterator() {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public ListIterator<E> listIterator(int index) {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public E remove(int index) {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean remove(Object o) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean removeAll(Collection<?> c) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public boolean retainAll(Collection<?> c) {
-        return false;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public E set(int index, E e) {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public int size() {
-        return 0;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public List<E> subList(int fromIndex, int toIndex) {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public Object[] toArray() {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     public <T> T[] toArray(T[] arg0) {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
+    @Override
     public String toString() {
-        return null;
+        throw new RuntimeException("Not yet implemented.");
     }
 
     private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException
{
-
+        throw new RuntimeException("Not yet implemented.");
     }
 
     private void writeObject(ObjectOutputStream s) throws IOException {
-
+        throw new RuntimeException("Not yet implemented.");
     }
 }



Mime
View raw message