template<typename T, typename SizeType = Size, typename AllocatorType = Allocator>
class om::util::ArrayList< T, SizeType, AllocatorType >::Iterator
Iterator class for an array list.
The purpose of this class is to iterate through all or some of the elements in the array list, making changes as necessary to the elements.
template<typename T, typename SizeType = Size, typename AllocatorType = Allocator>
Return whether or not the iterator is at the end of the list.
If the iterator is at the end of the list, return FALSE. Otherwise, return TRUE, indicating that there are more elements to iterate over.
- Returns
- FALSE if at the end of list, otherwise TRUE.
template<typename T, typename SizeType = Size, typename AllocatorType = Allocator>
Remove the current element from the list.
This method calls the removeAtSizeType() method of the iterated array list, and therefore has an average time complexity of O(n/2) where n is the size of the array list.
template<typename T, typename SizeType = Size, typename AllocatorType = Allocator>
Remove the current element from the list.
This method calls the removeAtSizeTypeUnordered() method of the iterated array list, and therefore has an average time complexity of O(1).