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-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.