|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.wilko.jaim.Group
This is a logical user group. It holds a set of users.
Constructor Summary | |
Group(java.lang.String name)
This constructor sets the name of the group |
Method Summary | |
void |
addBuddy(Buddy buddy)
This method adds a buddy to the end of the group |
void |
addBuddy(Buddy buddy,
int pos)
This method adds a buddy to the specified location in the group If the specified location is beyond the end of the group, then the buddy is added to the end of the group |
java.util.Enumeration |
enumerateBuddies()
This method returns the buddies in this group |
java.util.Collection |
getBuddies()
This method returns the buddies in this group |
int |
getBuddyCount()
This method returns the number of buddies in this group |
java.lang.String |
getName()
This method gets the group name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Group(java.lang.String name)
name
- the group nameMethod Detail |
public void addBuddy(Buddy buddy)
buddy
- The buddy object to associate with this grouppublic void addBuddy(Buddy buddy, int pos)
buddy
- The buddy object to associate with this grouppos
- the position to add the buddypublic java.lang.String getName()
public java.util.Enumeration enumerateBuddies()
Buddy
objectspublic int getBuddyCount()
public java.util.Collection getBuddies()
Buddy
objects
|
jaimlib.sourceforge.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |