
E remove( int index )
returns and removes the element at the specified index position
E set( int index, E newElement )
returns the element at the specified index position and replaces
that element with newElement.
int size( )
returns the number of elements in the list
void trimToSize( )
sets the capacity to the list’s current size
BigDecimal
Package: java.math
Description: provides methods that perform addition, subtraction, multi-
plication, and division so that the results are exact, without the rounding
errors caused by floating-point operations.
Constructor
BigDecimal( String num )
creates a BigDecimal object equivalent to the deci-
mal number num expr ...