|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A set of sibling Topic
s.
Method Summary | |
Topic |
addTopic(java.lang.String name)
Creates a new Topic object with the specified name and adds it to this set. |
boolean |
containsTopic(java.lang.String name)
Returns true if this set contains a topic with the specified name. |
Topic |
getTopic(java.lang.String name)
Gets the topic with the specified name. |
void |
removeTopic(java.lang.String name)
Removes the topic with the specified name from this set. |
java.util.Iterator |
topicIterator()
Gets an iterator of the topics in this set. |
Method Detail |
public Topic getTopic(java.lang.String name)
name
- the name of the topic to get
public Topic addTopic(java.lang.String name)
name
- the name of the topic to be addedpublic boolean containsTopic(java.lang.String name)
name
- the name
public void removeTopic(java.lang.String name)
name
- the name of the topic to removepublic java.util.Iterator topicIterator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |