data structures and algorithm
In this programming assignment you are asked to expand the SortedArrayList data structure we
have developed in class by adding the following new methods:
void IncrementItems(T aValue)
– Function: Increments all lists’ values by aValue.
– Precondition: List has been initialized
aValue has been initialized
– Postcondition: Function value = elements of the list have their info incremented
by a Value.
int CountEven()
– Function: Returns the number of elements that appears an even number of
times the list.
– Precondition: List has been initialized
– Postcondition: Function value = number of even integers in the list.
void ReverseOrder ( )
– Function: Reverses the order of the list’s elements.
– Precondition: List has been initialized.
– Postcondition: Function value = elements changed to descending order, if
elements are in ascending order, and vice-vers
Needs help with similar assignment?
We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

