ImageGear for Java
retainAll Method
collection containing elements to be retained in this list
Retains only the elements in this list that are contained in the specified collection (optional operation). In other words, removes from this list all the elements that are not contained in the specified collection.
Syntax
public boolean retainAll( 
   java.util.Collection<?> c
)

Parameters

c
collection containing elements to be retained in this list

Return Value

true if this list changed as a result of the call
Exceptions
ExceptionDescription
java.lang.UnsupportedOperationExceptionif the retainAll operation is not supported by this list
java.lang.ClassCastExceptionif the class of an element of this list is incompatible with the specified collection (optional)
java.lang.NullPointerExceptionif this list contains a null element and the specified collection does not permit null elements (optional), or if the specified collection is null
See Also

Reference

ImGearDocumentPageArray Class
ImGearDocumentPageArray Members
remove(Object) Method
contains Method

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback