|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.zion.jbuddy.bots.BotTargetSet
public class BotTargetSet
A set of targets.
BotTarget| Method Summary | |
|---|---|
void |
add(BotTarget target)
Adds a target to this set. |
void |
add(BotTarget target,
int index)
Adds a target to this set at the specified index. |
void |
clear()
Removes all targets from this set. |
Object |
clone()
Returns an exact copy of this set. |
BotTarget |
getByCommand(String command)
Returns the first target with the specified command, or null. |
BotTarget |
getByID(String id)
Returns the target with the specified ID, or null. |
List |
getTargets()
Returns a List of targets in this set. |
List |
getTargetsByCommand(String command)
Returns a List of targets with the specified command. |
void |
remove(BotTarget target)
Removes a target from this set. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void add(BotTarget target)
public void add(BotTarget target,
int index)
public BotTarget getByCommand(String command)
null.
public BotTarget getByID(String id)
null.
public List getTargets()
public List getTargetsByCommand(String command)
public void remove(BotTarget target)
public void clear()
public Object clone()
clone in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||