public interface PrimitiveCollection<E> extends PrimitiveCollectable<E>, Collection<E>
This interface extends Collection allowing seamless
integration with other APIs.
All Collection methods can be used, using the primitive wrapper class.
However, it will be much more efficient to use the direct primitive methods
in the subinterface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAny(Collection<?> values)
Checks if this collection contains any of the values in the specified collection.
|
clear, clone, isEmpty, isModifiable, optimize, sizeboolean containsAny(Collection<?> values)
false is returned.values - the values to search for, null treated as empty collectiontrue if at least one of the values is foundCopyright © 2005-2012 Joda.org. All Rights Reserved.