This commit is contained in:
Trustin Lee 2013-04-03 22:08:43 +09:00
parent af4b71a00e
commit 8fef511390

View File

@ -26,7 +26,7 @@ import java.util.Queue;
public interface MessageBuf<T> extends Buf, Queue<T> { public interface MessageBuf<T> extends Buf, Queue<T> {
/** /**
* Drain the content of te {@link MessageBuf} to the given {@link Collection}. * Drain the content of the {@link MessageBuf} to the given {@link Collection}.
* *
* @param c the {@link Collection} to drain the content to * @param c the {@link Collection} to drain the content to
* @return number the number of objects which was transfered * @return number the number of objects which was transfered
@ -34,7 +34,7 @@ public interface MessageBuf<T> extends Buf, Queue<T> {
int drainTo(Collection<? super T> c); int drainTo(Collection<? super T> c);
/** /**
* Drain the content of te {@link MessageBuf} to the given {@link Collection}. * Drain the content of the {@link MessageBuf} to the given {@link Collection}.
* *
* @param c the {@link Collection} to drain the content to * @param c the {@link Collection} to drain the content to
* @param maxElements the max number of elements to drain * @param maxElements the max number of elements to drain