You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by tr...@apache.org on 2008/05/23 07:32:28 UTC
svn commit: r659430 -
/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/
Author: trustin
Date: Thu May 22 22:32:25 2008
New Revision: 659430
URL: http://svn.apache.org/viewvc?rev=659430&view=rev
Log:
Added {@inheritDoc} tags to all empty JavaDoc blocks in org.apache.mina.queue
Modified:
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/AbstractIoQueue.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/CircularQueue.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/DefaultByteBufferQueue.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/HeapByteBufferFactory.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueueWrapper.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueBackedIoQueue.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueWrapper.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedIoQueue.java
mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedQueue.java
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/AbstractIoQueue.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/AbstractIoQueue.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/AbstractIoQueue.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/AbstractIoQueue.java Thu May 22 22:32:25 2008
@@ -38,6 +38,9 @@
private volatile IoQueueListener<? super E>[] listeners = newListenerArray(0);
+ /**
+ * {@inheritDoc}
+ */
public final void addListener(IoQueueListener<? super E> listener) {
if (listener == null) {
throw new NullPointerException("listener");
@@ -54,6 +57,9 @@
}
}
+ /**
+ * {@inheritDoc}
+ */
public final void removeListener(IoQueueListener<? super E> listener) {
synchronized (this) {
int index = -1;
@@ -91,6 +97,9 @@
}
}
+ /**
+ * {@inheritDoc}
+ */
public final boolean offer(E e) {
if (e == null) {
throw new NullPointerException("element");
@@ -115,6 +124,9 @@
return true;
}
+ /**
+ * {@inheritDoc}
+ */
public final E poll() {
E e = doPoll();
if (e == null) {
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/CircularQueue.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/CircularQueue.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/CircularQueue.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/CircularQueue.java Thu May 22 22:32:25 2008
@@ -76,6 +76,11 @@
this.shrinkThreshold = 0;
}
+ /**
+ * Normalized the specified capacity value to the power of two.
+ *
+ * @return the normalized actual capacity
+ */
private static int normalizeCapacity(int initialCapacity) {
int actualCapacity = 1;
while (actualCapacity < initialCapacity) {
@@ -96,6 +101,9 @@
return items.length;
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offer(E e) {
expandIfNeeded();
items[last] = e;
@@ -104,6 +112,9 @@
return true;
}
+ /**
+ * {@inheritDoc}
+ */
public E poll() {
if (isEmpty()) {
return null;
@@ -117,11 +128,17 @@
return ret;
}
+ /**
+ * Returns the index-th element.
+ */
public final E element(int index) {
checkIndex(index);
return items[getRealIndex(index)];
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public int size() {
if (full) {
@@ -135,6 +152,9 @@
}
}
+ /**
+ * {@inheritDoc}
+ */
public E peek() {
if (isEmpty()) {
return null;
@@ -143,6 +163,9 @@
return items[first];
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public Iterator<E> iterator() {
final int expectedModCount = modCount;
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/DefaultByteBufferQueue.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/DefaultByteBufferQueue.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/DefaultByteBufferQueue.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/DefaultByteBufferQueue.java Thu May 22 22:32:25 2008
@@ -93,6 +93,9 @@
this.capacityIncrement = capacityIncrement;
}
+ /**
+ * {@inheritDoc}
+ */
@Override
protected boolean doOffer(ByteBuffer e) {
e = e.duplicate();
@@ -107,6 +110,9 @@
return queue.offer(e);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
protected ByteBuffer doPoll() {
ByteBuffer buf = queue.poll();
@@ -116,6 +122,9 @@
return buf;
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public Iterator<ByteBuffer> iterator() {
final Iterator<ByteBuffer> i = queue.iterator();
@@ -134,59 +143,92 @@
};
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public int size() {
return queue.size();
}
+ /**
+ * {@inheritDoc}
+ */
public ByteBuffer peek() {
return queue.peek();
}
+ /**
+ * {@inheritDoc}
+ */
public ByteOrder order() {
return order;
}
+ /**
+ * {@inheritDoc}
+ */
public int length() {
return length;
}
+ /**
+ * {@inheritDoc}
+ */
public void addByte(byte value) {
if (!offerByte(value)) {
throw new IllegalStateException();
}
}
+ /**
+ * {@inheritDoc}
+ */
public void addShort(short value) {
if (!offerShort(value)) {
throw new IllegalStateException();
}
}
+ /**
+ * {@inheritDoc}
+ */
public void addInt(int value) {
if (!offerInt(value)) {
throw new IllegalStateException();
}
}
+ /**
+ * {@inheritDoc}
+ */
public void addLong(long value) {
if (!offerLong(value)) {
throw new IllegalStateException();
}
}
+ /**
+ * {@inheritDoc}
+ */
public void addFloat(float value) {
if (!offerFloat(value)) {
throw new IllegalStateException();
}
}
+ /**
+ * {@inheritDoc}
+ */
public void addDouble(double value) {
if (!offerDouble(value)) {
throw new IllegalStateException();
}
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offerByte(byte value) {
ByteBuffer tail = tail(1);
if (tail == null) {
@@ -199,6 +241,9 @@
return true;
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offerShort(short value) {
ByteBuffer tail = tail(2);
if (tail == null) {
@@ -211,6 +256,9 @@
return true;
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offerInt(int value) {
ByteBuffer tail = tail(4);
if (tail == null) {
@@ -223,6 +271,9 @@
return true;
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offerLong(long value) {
ByteBuffer tail = tail(8);
if (tail == null) {
@@ -235,14 +286,23 @@
return true;
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offerFloat(float value) {
return offerInt(Float.floatToIntBits(value));
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offerDouble(double value) {
return offerLong(Double.doubleToLongBits(value));
}
+ /**
+ * {@inheritDoc}
+ */
public boolean pollSlice(Queue<ByteBuffer> destination, int length) {
if (length < 0) {
throw new IllegalArgumentException(
@@ -296,6 +356,9 @@
}
}
+ /**
+ * {@inheritDoc}
+ */
public boolean peekSlice(Queue<ByteBuffer> destination, int length) {
if (length < 0) {
throw new IllegalArgumentException(
@@ -348,16 +411,25 @@
throw new ConcurrentModificationException();
}
+ /**
+ * {@inheritDoc}
+ */
public boolean elementAsSlice(Queue<ByteBuffer> destination, int length) {
checkSequentialAccess(length);
return peekSlice(destination, length);
}
+ /**
+ * {@inheritDoc}
+ */
public boolean removeSlice(Queue<ByteBuffer> destination, int length) {
checkSequentialAccess(length);
return pollSlice(destination, length);
}
+ /**
+ * {@inheritDoc}
+ */
public boolean getSlice(Queue<ByteBuffer> destination, int byteIndex, int length) {
checkRandomAccess(byteIndex, length);
@@ -407,6 +479,9 @@
throw new ConcurrentModificationException();
}
+ /**
+ * {@inheritDoc}
+ */
public byte removeByte() {
checkSequentialAccess(1);
ByteBuffer e = safeElement();
@@ -419,6 +494,9 @@
return value;
}
+ /**
+ * {@inheritDoc}
+ */
public short removeShort() {
checkSequentialAccess(2);
// Try to read in one shot.
@@ -441,6 +519,9 @@
return applyByteOrder((short) readByteByByte(2));
}
+ /**
+ * {@inheritDoc}
+ */
public int removeInt() {
checkSequentialAccess(4);
// Try to read in one shot.
@@ -463,6 +544,9 @@
return applyByteOrder((int) readByteByByte(4));
}
+ /**
+ * {@inheritDoc}
+ */
public long removeLong() {
checkSequentialAccess(8);
// Try to read in one shot.
@@ -485,14 +569,23 @@
return applyByteOrder(readByteByByte(8));
}
+ /**
+ * {@inheritDoc}
+ */
public float removeFloat() {
return Float.intBitsToFloat(removeInt());
}
+ /**
+ * {@inheritDoc}
+ */
public double removeDouble() {
return Double.longBitsToDouble(removeLong());
}
+ /**
+ * {@inheritDoc}
+ */
public void discard(int length) {
checkSequentialAccess(length);
@@ -518,12 +611,18 @@
}
}
+ /**
+ * {@inheritDoc}
+ */
public byte elementAsByte () {
checkSequentialAccess(1);
ByteBuffer e = safeElement();
return e.get(e.position());
}
+ /**
+ * {@inheritDoc}
+ */
public short elementAsShort () {
checkSequentialAccess(2);
// Try to read in one shot.
@@ -536,6 +635,9 @@
return applyByteOrder((short) getByteByByte(2));
}
+ /**
+ * {@inheritDoc}
+ */
public int elementAsInt () {
checkSequentialAccess(4);
// Try to read in one shot.
@@ -548,6 +650,9 @@
return applyByteOrder((int) getByteByByte(4));
}
+ /**
+ * {@inheritDoc}
+ */
public long elementAsLong () {
checkSequentialAccess(8);
// Try to read in one shot.
@@ -560,14 +665,23 @@
return applyByteOrder(getByteByByte(8));
}
+ /**
+ * {@inheritDoc}
+ */
public float elementAsFloat () {
return Float.intBitsToFloat(elementAsInt());
}
+ /**
+ * {@inheritDoc}
+ */
public double elementAsDouble() {
return Double.longBitsToDouble(elementAsLong());
}
+ /**
+ * {@inheritDoc}
+ */
public byte getByte (int byteIndex) {
checkRandomAccess(byteIndex, 1);
if (byteIndex == 0) {
@@ -593,6 +707,9 @@
throw new ConcurrentModificationException();
}
+ /**
+ * {@inheritDoc}
+ */
public short getShort (int byteIndex) {
checkRandomAccess(byteIndex, 2);
if (byteIndex == 0) {
@@ -609,6 +726,9 @@
return applyByteOrder((short) getByteByByte(byteIndex, 2));
}
+ /**
+ * {@inheritDoc}
+ */
public int getInt (int byteIndex) {
checkRandomAccess(byteIndex, 4);
if (byteIndex == 0) {
@@ -625,6 +745,9 @@
return applyByteOrder((int) getByteByByte(byteIndex, 4));
}
+ /**
+ * {@inheritDoc}
+ */
public long getLong (int byteIndex) {
checkRandomAccess(byteIndex, 8);
if (byteIndex == 0) {
@@ -641,14 +764,23 @@
return applyByteOrder(getByteByByte(byteIndex, 8));
}
+ /**
+ * {@inheritDoc}
+ */
public float getFloat (int byteIndex) {
return Float.intBitsToFloat(getInt(byteIndex));
}
+ /**
+ * {@inheritDoc}
+ */
public double getDouble(int byteIndex) {
return Double.longBitsToDouble(getLong(byteIndex));
}
+ /**
+ * {@inheritDoc}
+ */
public ByteBuffer merge() {
ByteBuffer buf = bufferFactory.newByteBuffer(length);
buf.order(order);
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/HeapByteBufferFactory.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/HeapByteBufferFactory.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/HeapByteBufferFactory.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/HeapByteBufferFactory.java Thu May 22 22:32:25 2008
@@ -35,6 +35,9 @@
*/
public static HeapByteBufferFactory INSTANCE = new HeapByteBufferFactory();
+ /**
+ * {@inheritDoc}
+ */
public ByteBuffer newByteBuffer(int capacity) {
return ByteBuffer.allocate(capacity);
}
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueueWrapper.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueueWrapper.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueueWrapper.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/IoQueueWrapper.java Thu May 22 22:32:25 2008
@@ -26,7 +26,7 @@
* @author The Apache Directory Project (mina-dev@directory.apache.org)
* @version $Rev$, $Date$
*/
-public class IoQueueWrapper<E> extends QueueWrapper<E> {
+public class IoQueueWrapper<E> extends QueueWrapper<E> implements IoQueue<E> {
/**
* Creates a new instance.
@@ -35,10 +35,16 @@
super(queue);
}
+ /**
+ * {@inheritDoc}
+ */
public void addListener(IoQueueListener<? super E> listener) {
((IoQueue<E>) q).addListener(listener);
}
+ /**
+ * {@inheritDoc}
+ */
public void removeListener(IoQueueListener<? super E> listener) {
((IoQueue<E>) q).removeListener(listener);
}
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueBackedIoQueue.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueBackedIoQueue.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueBackedIoQueue.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueBackedIoQueue.java Thu May 22 22:32:25 2008
@@ -46,35 +46,56 @@
this.q = queue;
}
+ /**
+ * {@inheritDoc}
+ */
public E peek() {
return q.peek();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public Iterator<E> iterator() {
return q.iterator();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public int size() {
return q.size();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public Object[] toArray() {
return q.toArray();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public <T> T[] toArray(T[] a) {
return q.toArray(a);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
protected boolean doOffer(E e) {
return q.offer(e);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
protected E doPoll() {
return q.poll();
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueWrapper.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueWrapper.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueWrapper.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/QueueWrapper.java Thu May 22 22:32:25 2008
@@ -43,88 +43,151 @@
this.q = queue;
}
+ /**
+ * {@inheritDoc}
+ */
public boolean add(E e) {
return q.add(e);
}
+ /**
+ * {@inheritDoc}
+ */
public E element() {
return q.element();
}
+ /**
+ * {@inheritDoc}
+ */
public boolean offer(E e) {
return q.offer(e);
}
+ /**
+ * {@inheritDoc}
+ */
public E peek() {
return q.peek();
}
+ /**
+ * {@inheritDoc}
+ */
public E poll() {
return q.poll();
}
+ /**
+ * {@inheritDoc}
+ */
public E remove() {
return q.remove();
}
+ /**
+ * {@inheritDoc}
+ */
public boolean addAll(Collection<? extends E> c) {
return q.addAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
public void clear() {
q.clear();
}
+ /**
+ * {@inheritDoc}
+ */
public boolean contains(Object o) {
return q.contains(o);
}
+ /**
+ * {@inheritDoc}
+ */
public boolean containsAll(Collection<?> c) {
return q.containsAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
public boolean isEmpty() {
return q.isEmpty();
}
+ /**
+ * {@inheritDoc}
+ */
public Iterator<E> iterator() {
return q.iterator();
}
+ /**
+ * {@inheritDoc}
+ */
public boolean remove(Object o) {
return q.remove(o);
}
+ /**
+ * {@inheritDoc}
+ */
public boolean removeAll(Collection<?> c) {
return q.removeAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
public boolean retainAll(Collection<?> c) {
return q.retainAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
public int size() {
return q.size();
}
+ /**
+ * {@inheritDoc}
+ */
public Object[] toArray() {
return q.toArray();
}
+ /**
+ * {@inheritDoc}
+ */
public <T> T[] toArray(T[] a) {
return q.toArray(a);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public boolean equals(Object obj) {
return q.equals(obj);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public int hashCode() {
return q.hashCode();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public String toString() {
return q.toString();
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedIoQueue.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedIoQueue.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedIoQueue.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedIoQueue.java Thu May 22 22:32:25 2008
@@ -38,116 +38,185 @@
super(queue);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean add(E e) {
return super.add(e);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E element() {
return super.element();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean offer(E e) {
return super.offer(e);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E peek() {
return super.peek();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E poll() {
return super.poll();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E remove() {
return super.remove();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean addAll(Collection<? extends E> c) {
return super.addAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized void clear() {
super.clear();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean contains(Object o) {
return super.contains(o);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean containsAll(Collection<?> c) {
return super.containsAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean isEmpty() {
return super.isEmpty();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized Iterator<E> iterator() {
return super.iterator();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean remove(Object o) {
return super.remove(o);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean removeAll(Collection<?> c) {
return super.removeAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean retainAll(Collection<?> c) {
return super.retainAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized int size() {
return super.size();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized Object[] toArray() {
return super.toArray();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized <T> T[] toArray(T[] a) {
return super.toArray(a);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean equals(Object obj) {
return super.equals(obj);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized int hashCode() {
return super.hashCode();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized String toString() {
return super.toString();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized void addListener(IoQueueListener<? super E> listener) {
super.addListener(listener);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized void removeListener(IoQueueListener<? super E> listener) {
super.removeListener(listener);
Modified: mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedQueue.java
URL: http://svn.apache.org/viewvc/mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedQueue.java?rev=659430&r1=659429&r2=659430&view=diff
==============================================================================
--- mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedQueue.java (original)
+++ mina/branches/buffer/core/src/main/java/org/apache/mina/queue/SynchronizedQueue.java Thu May 22 22:32:25 2008
@@ -39,106 +39,169 @@
super(queue);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean add(E e) {
return super.add(e);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E element() {
return super.element();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean offer(E e) {
return super.offer(e);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E peek() {
return super.peek();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E poll() {
return super.poll();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized E remove() {
return super.remove();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean addAll(Collection<? extends E> c) {
return super.addAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized void clear() {
super.clear();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean contains(Object o) {
return super.contains(o);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean containsAll(Collection<?> c) {
return super.containsAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean isEmpty() {
return super.isEmpty();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized Iterator<E> iterator() {
return super.iterator();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean remove(Object o) {
return super.remove(o);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean removeAll(Collection<?> c) {
return super.removeAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean retainAll(Collection<?> c) {
return super.retainAll(c);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized int size() {
return super.size();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized Object[] toArray() {
return super.toArray();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized <T> T[] toArray(T[] a) {
return super.toArray(a);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized boolean equals(Object obj) {
return super.equals(obj);
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized int hashCode() {
return super.hashCode();
}
+ /**
+ * {@inheritDoc}
+ */
@Override
public synchronized String toString() {
return super.toString();