public interface SetService<E> extends CollectionService<E>
CollectionService.IterationController
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all of the elements from this set.
|
boolean |
contains(E e)
Indicates if this set contains the specified element.
|
boolean |
remove(E e)
Removes the specified element from this set.
|
int |
size()
Returns the number of elements in this set.
|
add, atomic, comparator, forEach, iterator, removeIf, trySplit
void clear()
boolean contains(E e)
boolean remove(E e)
elem
such that
getComparator().areEquals(elem, e))
.int size()
Copyright © 2005-2013 Javolution. All Rights Reserved.