|
|||||||||
| Home >> All >> com >> wilko >> [ jaim overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.wilko.jaim
Class Group

java.lang.Objectcom.wilko.jaim.Group
- public class Group
- extends java.lang.Object
This is a logical user group. It holds a set of users.
| Field Summary | |
private java.util.Vector |
buddies
Vector of buddies for this group |
private java.lang.String |
groupName
Name of this group |
| 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 |
| Field Detail |
buddies
private java.util.Vector buddies
- Vector of buddies for this group
groupName
private java.lang.String groupName
- Name of this group
| Constructor Detail |
Group
public Group(java.lang.String name)
- This constructor sets the name of the group
| Method Detail |
addBuddy
public void addBuddy(Buddy buddy)
- This method adds a buddy to the end of the group
addBuddy
public 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
getName
public java.lang.String getName()
- This method gets the group name
enumerateBuddies
public java.util.Enumeration enumerateBuddies()
- This method returns the buddies in this group
getBuddyCount
public int getBuddyCount()
- This method returns the number of buddies in this group
getBuddies
public java.util.Collection getBuddies()
- This method returns the buddies in this group
|
|||||||||
| Home >> All >> com >> wilko >> [ jaim overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.wilko.jaim.Group