You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2012/02/22 20:38:27 UTC

svn commit: r1292469 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/concurrentlinkedhashmap/LinkedDeque.java

Author: aadamchik
Date: Wed Feb 22 19:38:27 2012
New Revision: 1292469

URL: http://svn.apache.org/viewvc?rev=1292469&view=rev
Log:
CAY-1670 Non-blocking DataRowStore

JDK 1.5 compatibility. Deque only appears in java 6

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/concurrentlinkedhashmap/LinkedDeque.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/concurrentlinkedhashmap/LinkedDeque.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/concurrentlinkedhashmap/LinkedDeque.java?rev=1292469&r1=1292468&r2=1292469&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/concurrentlinkedhashmap/LinkedDeque.java (original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/util/concurrentlinkedhashmap/LinkedDeque.java Wed Feb 22 19:38:27 2012
@@ -35,16 +35,15 @@ package org.apache.cayenne.util.concurre
 
 import java.util.AbstractCollection;
 import java.util.Collection;
-import java.util.Deque;
 import java.util.Iterator;
 import java.util.NoSuchElementException;
 
 /**
- * Linked list implementation of the {@link Deque} interface where the link pointers are
- * tightly integrated with the element. Linked deques have no capacity restrictions; they
- * grow as necessary to support usage. They are not thread-safe; in the absence of
- * external synchronization, they do not support concurrent access by multiple threads.
- * Null elements are prohibited.
+ * Linked list implementation of the Deque interface (not available in Java 5, so not
+ * formally declared) where the link pointers are tightly integrated with the element.
+ * Linked deques have no capacity restrictions; they grow as necessary to support usage.
+ * They are not thread-safe; in the absence of external synchronization, they do not
+ * support concurrent access by multiple threads. Null elements are prohibited.
  * <p>
  * Most <tt>LinkedDeque</tt> operations run in constant time by assuming that the
  * {@link Linked} parameter is associated with the deque instance. Any usage that violates
@@ -428,7 +427,7 @@ final class LinkedDeque<E extends Linked
 }
 
 /**
- * An element that is linked on the {@link Deque}.
+ * An element that is linked on the Deque.
  */
 interface Linked<T extends Linked<T>> {