TigaseDoc
latest
Tigase Utils 4.3.0-SNAPSHOT API
gnu.inet.encoding
tigase.annotations
tigase.cert
tigase.collections
tigase.criteria
tigase.form
tigase.util
tigase.util.cache
tigase.util.datetime
tigase.util.dns
tigase.util.stringprep
tigase.util.ui.console
tigase.xmpp.jid
tigase.xmpp.rsm
TigaseDoc
Tigase Utils 4.3.0-SNAPSHOT API
tigase.collections
CircularFifoQueue
Edit on GitHub
CircularFifoQueue
¶
public class
CircularFifoQueue
<E> extends AbstractQueue<E>
¶
Constructors
¶
CircularFifoQueue
¶
public
CircularFifoQueue
(
int
maxEntries
,
Consumer
<E>
overflowConsumer
)
¶
Methods
¶
add
¶
public boolean
add
(
E
e
)
¶
addAll
¶
public boolean
addAll
(
Collection<? extends E>
c
)
¶
iterator
¶
public Iterator<E>
iterator
(
)
¶
limit
¶
public int
limit
(
)
¶
offer
¶
public boolean
offer
(
E
element
)
¶
peek
¶
public E
peek
(
)
¶
poll
¶
public E
poll
(
)
¶
setLimit
¶
public boolean
setLimit
(
int
limit
)
¶
size
¶
public int
size
(
)
¶