You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/08/11 15:13:12 UTC
svn commit: r1371946 - in
/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections:
keyvalue/ list/
Author: tn
Date: Sat Aug 11 13:13:12 2012
New Revision: 1371946
URL: http://svn.apache.org/viewvc?rev=1371946&view=rev
Log:
Remove added inheritDoc tags again.
Modified:
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractLinkedList.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractListDecorator.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/FixedSizeList.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/PredicatedList.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/SynchronizedList.java
commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/TransformedList.java
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java?rev=1371946&r1=1371945&r2=1371946&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/keyvalue/AbstractMapEntryDecorator.java Sat Aug 11 13:13:12 2012
@@ -56,17 +56,14 @@ public abstract class AbstractMapEntryDe
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public K getKey() {
return entry.getKey();
}
- /** {@inheritDoc} */
public V getValue() {
return entry.getValue();
}
- /** {@inheritDoc} */
public V setValue(V object) {
return entry.setValue(object);
}
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractLinkedList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractLinkedList.java?rev=1371946&r1=1371945&r2=1371946&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractLinkedList.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractLinkedList.java Sat Aug 11 13:13:12 2012
@@ -100,17 +100,14 @@ public abstract class AbstractLinkedList
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public int size() {
return size;
}
- /** {@inheritDoc} */
public boolean isEmpty() {
return (size() == 0);
}
- /** {@inheritDoc} */
public E get(int index) {
Node<E> node = getNode(index, false);
return node.getValue();
@@ -118,24 +115,20 @@ public abstract class AbstractLinkedList
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public Iterator<E> iterator() {
return listIterator();
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator() {
return new LinkedListIterator<E>(this, 0);
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator(int fromIndex) {
return new LinkedListIterator<E>(this, fromIndex);
}
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public int indexOf(Object value) {
int i = 0;
for (Node<E> node = header.next; node != header; node = node.next) {
@@ -147,7 +140,6 @@ public abstract class AbstractLinkedList
return -1;
}
- /** {@inheritDoc} */
public int lastIndexOf(Object value) {
int i = size - 1;
for (Node<E> node = header.previous; node != header; node = node.previous) {
@@ -159,12 +151,10 @@ public abstract class AbstractLinkedList
return -1;
}
- /** {@inheritDoc} */
public boolean contains(Object value) {
return indexOf(value) != -1;
}
- /** {@inheritDoc} */
public boolean containsAll(Collection<?> coll) {
for (Object o : coll) {
if (!contains(o)) {
@@ -176,12 +166,10 @@ public abstract class AbstractLinkedList
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public Object[] toArray() {
return toArray(new Object[size]);
}
- /** {@inheritDoc} */
@SuppressWarnings("unchecked")
public <T> T[] toArray(T[] array) {
// Extend the array if needed
@@ -214,24 +202,20 @@ public abstract class AbstractLinkedList
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public boolean add(E value) {
addLast(value);
return true;
}
- /** {@inheritDoc} */
public void add(int index, E value) {
Node<E> node = getNode(index, true);
addNodeBefore(node, value);
}
- /** {@inheritDoc} */
public boolean addAll(Collection<? extends E> coll) {
return addAll(size, coll);
}
- /** {@inheritDoc} */
public boolean addAll(int index, Collection<? extends E> coll) {
Node<E> node = getNode(index, true);
for (E e : coll) {
@@ -242,7 +226,6 @@ public abstract class AbstractLinkedList
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public E remove(int index) {
Node<E> node = getNode(index, false);
E oldValue = node.getValue();
@@ -250,7 +233,6 @@ public abstract class AbstractLinkedList
return oldValue;
}
- /** {@inheritDoc} */
public boolean remove(Object value) {
for (Node<E> node = header.next; node != header; node = node.next) {
if (isEqualValue(node.getValue(), value)) {
@@ -261,7 +243,6 @@ public abstract class AbstractLinkedList
return false;
}
- /** {@inheritDoc} */
public boolean removeAll(Collection<?> coll) {
boolean modified = false;
Iterator<E> it = iterator();
@@ -276,7 +257,6 @@ public abstract class AbstractLinkedList
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public boolean retainAll(Collection<?> coll) {
boolean modified = false;
Iterator<E> it = iterator();
@@ -289,7 +269,6 @@ public abstract class AbstractLinkedList
return modified;
}
- /** {@inheritDoc} */
public E set(int index, E value) {
Node<E> node = getNode(index, false);
E oldValue = node.getValue();
@@ -297,7 +276,6 @@ public abstract class AbstractLinkedList
return oldValue;
}
- /** {@inheritDoc} */
public void clear() {
removeAllNodes();
}
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractListDecorator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractListDecorator.java?rev=1371946&r1=1371945&r2=1371946&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractListDecorator.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/AbstractListDecorator.java Sat Aug 11 13:13:12 2012
@@ -67,52 +67,42 @@ public abstract class AbstractListDecora
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public void add(int index, E object) {
decorated().add(index, object);
}
- /** {@inheritDoc} */
public boolean addAll(int index, Collection<? extends E> coll) {
return decorated().addAll(index, coll);
}
- /** {@inheritDoc} */
public E get(int index) {
return decorated().get(index);
}
- /** {@inheritDoc} */
public int indexOf(Object object) {
return decorated().indexOf(object);
}
- /** {@inheritDoc} */
public int lastIndexOf(Object object) {
return decorated().lastIndexOf(object);
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator() {
return decorated().listIterator();
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator(int index) {
return decorated().listIterator(index);
}
- /** {@inheritDoc} */
public E remove(int index) {
return decorated().remove(index);
}
- /** {@inheritDoc} */
public E set(int index, E object) {
return decorated().set(index, object);
}
- /** {@inheritDoc} */
public List<E> subList(int fromIndex, int toIndex) {
return decorated().subList(fromIndex, toIndex);
}
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/FixedSizeList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/FixedSizeList.java?rev=1371946&r1=1371945&r2=1371946&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/FixedSizeList.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/FixedSizeList.java Sat Aug 11 13:13:12 2012
@@ -170,12 +170,10 @@ public class FixedSizeList<E>
}
}
- /** {@inheritDoc} */
public boolean isFull() {
return true;
}
- /** {@inheritDoc} */
public int maxSize() {
return size();
}
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/PredicatedList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/PredicatedList.java?rev=1371946&r1=1371945&r2=1371946&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/PredicatedList.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/PredicatedList.java Sat Aug 11 13:13:12 2012
@@ -90,35 +90,29 @@ public class PredicatedList<E> extends P
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public E get(int index) {
return decorated().get(index);
}
- /** {@inheritDoc} */
public int indexOf(Object object) {
return decorated().indexOf(object);
}
- /** {@inheritDoc} */
public int lastIndexOf(Object object) {
return decorated().lastIndexOf(object);
}
- /** {@inheritDoc} */
public E remove(int index) {
return decorated().remove(index);
}
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public void add(int index, E object) {
validate(object);
decorated().add(index, object);
}
- /** {@inheritDoc} */
public boolean addAll(int index, Collection<? extends E> coll) {
for (E aColl : coll) {
validate(aColl);
@@ -126,23 +120,19 @@ public class PredicatedList<E> extends P
return decorated().addAll(index, coll);
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator() {
return listIterator(0);
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator(int i) {
return new PredicatedListIterator(decorated().listIterator(i));
}
- /** {@inheritDoc} */
public E set(int index, E object) {
validate(object);
return decorated().set(index, object);
}
- /** {@inheritDoc} */
public List<E> subList(int fromIndex, int toIndex) {
List<E> sub = decorated().subList(fromIndex, toIndex);
return new PredicatedList<E>(sub, predicate);
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/SynchronizedList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/SynchronizedList.java?rev=1371946&r1=1371945&r2=1371946&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/SynchronizedList.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/SynchronizedList.java Sat Aug 11 13:13:12 2012
@@ -83,35 +83,30 @@ public class SynchronizedList<E> extends
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public void add(int index, E object) {
synchronized (lock) {
getList().add(index, object);
}
}
- /** {@inheritDoc} */
public boolean addAll(int index, Collection<? extends E> coll) {
synchronized (lock) {
return getList().addAll(index, coll);
}
}
- /** {@inheritDoc} */
public E get(int index) {
synchronized (lock) {
return getList().get(index);
}
}
- /** {@inheritDoc} */
public int indexOf(Object object) {
synchronized (lock) {
return getList().indexOf(object);
}
}
- /** {@inheritDoc} */
public int lastIndexOf(Object object) {
synchronized (lock) {
return getList().lastIndexOf(object);
@@ -147,21 +142,18 @@ public class SynchronizedList<E> extends
return getList().listIterator(index);
}
- /** {@inheritDoc} */
public E remove(int index) {
synchronized (lock) {
return getList().remove(index);
}
}
- /** {@inheritDoc} */
public E set(int index, E object) {
synchronized (lock) {
return getList().set(index, object);
}
}
- /** {@inheritDoc} */
public List<E> subList(int fromIndex, int toIndex) {
synchronized (lock) {
List<E> list = getList().subList(fromIndex, toIndex);
Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/TransformedList.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/TransformedList.java?rev=1371946&r1=1371945&r2=1371946&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/TransformedList.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/list/TransformedList.java Sat Aug 11 13:13:12 2012
@@ -115,57 +115,47 @@ public class TransformedList<E> extends
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public E get(int index) {
return getList().get(index);
}
- /** {@inheritDoc} */
public int indexOf(Object object) {
return getList().indexOf(object);
}
- /** {@inheritDoc} */
public int lastIndexOf(Object object) {
return getList().lastIndexOf(object);
}
- /** {@inheritDoc} */
public E remove(int index) {
return getList().remove(index);
}
//-----------------------------------------------------------------------
- /** {@inheritDoc} */
public void add(int index, E object) {
object = transform(object);
getList().add(index, object);
}
- /** {@inheritDoc} */
public boolean addAll(int index, Collection<? extends E> coll) {
coll = transform(coll);
return getList().addAll(index, coll);
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator() {
return listIterator(0);
}
- /** {@inheritDoc} */
public ListIterator<E> listIterator(int i) {
return new TransformedListIterator(getList().listIterator(i));
}
- /** {@inheritDoc} */
public E set(int index, E object) {
object = transform(object);
return getList().set(index, object);
}
- /** {@inheritDoc} */
public List<E> subList(int fromIndex, int toIndex) {
List<E> sub = getList().subList(fromIndex, toIndex);
return new TransformedList<E>(sub, transformer);