|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LinkCollection
Method Summary | |
---|---|
boolean |
add(Link link)
Adds the specified link to this collection. |
boolean |
contains(Link link)
Checks whether this collection contains the specified Link object
or an equivalent. |
java.util.Iterator<Link> |
iterator()
|
void |
remove(Link link)
Removes the specified link from this collection. |
int |
size()
|
Method Detail |
---|
java.util.Iterator<Link> iterator()
iterator
in interface java.lang.Iterable<Link>
int size()
Link
s in the collection.boolean contains(Link link)
Link
object
or an equivalent.
link
- The Link
object of interest.
Link
object;
otherwise, false.boolean add(Link link)
link
- the link to add (must not be null
)
true
if the link was not already in this collection
and was added, false
if this collection already
contained the link.void remove(Link link)
link
- the link to remove (must not be null
)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |