|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectserver.WordMoleClientList
public class WordMoleClientList
| Constructor Summary | |
|---|---|
WordMoleClientList()
|
|
WordMoleClientList(WordMoleClient client,
Client name)
Constructor |
|
| Method Summary | |
|---|---|
void |
add(WordMoleClient client,
Client name)
Adds a WordMoleClient with username to the list. |
Client[] |
clients()
|
WordMoleClient |
get(Client client)
Returns the WordMoleClient with client. |
Client |
get(WordMoleClient client)
Returns the Client with WordMoleClient. |
java.util.Iterator<WordMoleClient> |
iterator()
Returns an iterator over the elements in this collection. |
void |
remove(Client client)
Removes a WordMoleClient from the system. |
boolean |
update(Client client)
Updates the client in the List |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WordMoleClientList()
public WordMoleClientList(WordMoleClient client,
Client name)
client - - Creates a new WordMoleClientList with element cname - - Name of the first WordMoleClient| Method Detail |
|---|
public void add(WordMoleClient client,
Client name)
client - - WordMoleClient to add.name - - Client of the WordMoleClientpublic boolean update(Client client)
client - - Client to be updatedpublic void remove(Client client)
client - - Client of the WordMoleClientpublic WordMoleClient get(Client client)
client - - Client of the desired WordMoleClient
public Client get(WordMoleClient client)
client - - WordMoleClient of the desired Client
public java.util.Iterator<WordMoleClient> iterator()
public Client[] clients()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||