net.rim.device.api.collection
Interface WritableSet

All Superinterfaces:
Collection

public interface WritableSet
extends Collection

Provides write access to a set-type collection.


Method Summary
 void add(Object element)
          Adds an element to this set.
 boolean contains(Object element)
          Determines if this set contains an element.
 void remove(Object element)
          Removes an element from this set.
 void removeAll()
          Removes all elements from this set.
 



Method Detail

add

void add(Object element)
Adds an element to this set.

Parameters:
element - Element to add.

contains

boolean contains(Object element)
Determines if this set contains an element.

Parameters:
element - Element to look for.
Returns:
True if this set contains your element; otherwise, false.

remove

void remove(Object element)
Removes an element from this set.

Parameters:
element - Element to remove.

removeAll

void removeAll()
Removes all elements from this set.






Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal