T -
public class SynchronizedQueue<T> extends Objectimplements Queue <T>
| Constructor and Description |
|---|
SynchronizedQueue()
|
SynchronizedQueue(int size)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T e)
|
boolean |
addAll(Collection
|
void |
clear()
|
Object |
clone()
|
boolean |
contains(Object
|
boolean |
containsAll(Collection
|
T |
element()
|
boolean |
equals(Object
|
int |
hashCode()
|
boolean |
isEmpty()
|
Iterator |
iterator()
|
boolean |
offer(T e)
|
T |
peek()
|
T |
poll()
|
T |
remove()
|
boolean |
remove(Object
|
boolean |
removeAll(Collection
|
boolean |
retainAll(Collection
|
int |
size()
|
Object |
toArray()
|
<R> R[] |
toArray(R[] a)
|
String |
toString()
|
finalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, spliterator, streampublic SynchronizedQueue()
public SynchronizedQueue(int size)
public boolean isEmpty()
public boolean contains(Objecto)
public int size()
public boolean add(T e)
public boolean remove(Objecto)
public boolean containsAll(Collection<?> c)
public boolean addAll(Collection<? extends T> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public StringtoString()
public boolean equals(Objecto)
public int hashCode()
public T peek()
public T element()
public T poll()
public T remove()
public boolean offer(T e)
public Objectclone()
public Object[] toArray()
public <R> R[] toArray(R[] a)