public static <T> List<T> listView(IntSupplier currentSize, IntFunction<T> itemFetcher) {
    return new ListView<>(currentSize, itemFetcher);
  }
Create a view of a numerically indexed dataset as a {@link List}. The returned list is read only.
@param currentSize the current number of elements in the dataset.
@param itemFetcher a function that returns the element at the provided index.
@return the list view.
ambry-utils/src/main/java/com/github/ambry/utils/Utils.java