@SafeVarargs
  public static <T> List<T> asList(final T... array) {
    List<T> arrayList = new ArrayList<>(array.length);
    Collections.addAll(arrayList, array);
    return arrayList;
  }
Returns the specified array as a List of elements.
<p>

@param <T> the class type of the elements in the array.
@param array the object array of elements to convert to a List.
@return a List of elements contained in the specified array.
@see java.util.Arrays#asList(Object[])
geode-core/src/main/java/org/apache/geode/internal/util/CollectionUtils.java