Package org.osgi.util.pushstream
Class AbstractPushStreamImpl.ArrayQueue<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractQueue<E>
-
- org.osgi.util.pushstream.AbstractPushStreamImpl.ArrayQueue<E>
-
- All Implemented Interfaces:
java.lang.Iterable<E>,java.util.Collection<E>,java.util.Queue<E>
- Enclosing class:
- AbstractPushStreamImpl<T>
private static class AbstractPushStreamImpl.ArrayQueue<E> extends java.util.AbstractQueue<E> implements java.util.Queue<E>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intnextIndex(package private) intnormalLength(package private) intsize(package private) java.lang.Object[]store
-
Constructor Summary
Constructors Constructor Description ArrayQueue(int capacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforcePush(E e)java.util.Iterator<E>iterator()booleanoffer(E e)Epeek()Epoll()intsize()-
Methods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-