ImageGear for Java
set Method
index of the element to replace
Element to be stored at the specified position
Replaces the element at the specified position in this list with the specified element (optional operation).
Syntax

Parameters

index
index of the element to replace
node
Element to be stored at the specified position

Return Value

the element previously at the specified position
Exceptions
ExceptionDescription
java.lang.UnsupportedOperationExceptionif the set operation is not supported by this list
java.lang.ClassCastExceptionif the class of the specified element prevents it from being added to this list
java.lang.NullPointerExceptionif the specified element is null and this list does not permit null elements
java.lang.IllegalArgumentExceptionif some property of the specified element prevents it from being added to this list
java.lang.IndexOutOfBoundsExceptionif the index is out of range (index < 0 || index >= size())
See Also

Reference

ImGearMetadataNodeList Class
ImGearMetadataNodeList Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback