-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MessageQueue
public MessageQueue()
-
Method Detail
-
size
public int size()
- Specified by:
size
in interface Queue<T>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Queue<T>
-
poll
public T poll()
- Specified by:
poll
in interface Queue<T>
-
add
public void add(T t)
- Specified by:
add
in interface Queue<T>
-
clear
public void clear()
- Specified by:
clear
in interface Queue<T>
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.