|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
org.walluck.oscar.client.BuddyGroup
public class BuddyGroup
Buddy groups.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
BuddyGroup()
Creates a new buddy group. |
|
BuddyGroup(String name)
Creates a new buddy group with the given name. |
|
| Method Summary | |
|---|---|
Buddy |
addBuddy(String name)
Add a buddy to this buddy group with the given name. |
boolean |
equals(BuddyGroup b)
Tests whether two buddy groups are equal. |
boolean |
equals(Object b)
Describe equals method here. |
Buddy |
findBuddy(String name)
Describe findBuddy method here. |
String |
getName()
Get the value of name. |
int |
hashCode()
The hascode. |
void |
setName(String name)
Set the value of name. |
| Methods inherited from class java.util.ArrayList |
|---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public BuddyGroup()
public BuddyGroup(String name)
name - the name| Method Detail |
|---|
public Buddy addBuddy(String name)
name - the buddy name
Buddy addedpublic Buddy findBuddy(String name)
findBuddy method here.
name - a String value
Buddy valuepublic String getName()
public void setName(String name)
name - Value to assign to name.public boolean equals(BuddyGroup b)
b - the buddy group
public boolean equals(Object b)
equals method here.
equals in interface Collectionequals in interface Listequals in class AbstractListb - an Object value
boolean valuepublic int hashCode()
hashCode in interface CollectionhashCode in interface ListhashCode in class AbstractList
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||