ArrayHandler template class with container-like iterating