public class ClientQueueList extends java.lang.Object implements java.lang.Iterable<ClientQueueList.Entry>
Modifier and Type | Class and Description |
---|---|
static class |
ClientQueueList.Entry |
Constructor and Description |
---|
ClientQueueList()
Instantiates a new client queue list.
|
Modifier and Type | Method and Description |
---|---|
void |
addQueueFilter(java.lang.String queue)
Adds the queue filter.
|
void |
addQueueFilter(java.lang.String queue,
int client)
Adds the queue filter.
|
void |
clear()
Clear the queueList
|
boolean |
containsEmptyQueue()
Contains empty queue.
|
java.lang.String |
get(int index)
Gets the.
|
int |
getClientOfEmptyQueue()
Gets the client of empty queue.
|
java.util.List<ClientQueueList.Entry> |
getList()
Gets the list.
|
int |
getQueueClient(int n)
Gets the queue client.
|
java.util.List<java.lang.Integer> |
getQueueClientList()
Gets the queue client list.
|
java.util.List<java.lang.String> |
getQueueList()
Gets the queue list.
|
java.util.Iterator<ClientQueueList.Entry> |
iterator() |
void |
setList(java.util.List<ClientQueueList.Entry> list)
Sets the list.
|
int |
size()
Size.
|
public java.util.List<ClientQueueList.Entry> getList()
public void setList(java.util.List<ClientQueueList.Entry> list)
list
- the new listpublic int size()
public java.util.List<java.lang.Integer> getQueueClientList()
public java.util.List<java.lang.String> getQueueList()
public int getQueueClient(int n)
n
- the npublic java.lang.String get(int index)
index
- the indexpublic void addQueueFilter(java.lang.String queue)
queue
- the queuepublic void addQueueFilter(java.lang.String queue, int client)
queue
- the queueclient
- the clientpublic java.util.Iterator<ClientQueueList.Entry> iterator()
iterator
in interface java.lang.Iterable<ClientQueueList.Entry>
public boolean containsEmptyQueue()
public int getClientOfEmptyQueue()
public void clear()