Provide implementation for public T get(int numElements)