docs: @SuppressWarnings("unchecked")
  	public static <T> List<T> getAny(Collection<T> collection, int... indexes) {
  		final int size = collection.size();
  		final ArrayList<T> result = new ArrayList<>();
  		if (collection instanceof List) {
  			final List<T> list = ((List<T>) collection);
  			for (int index : indexes) {
  				if (index < 0) {
  					index += size;
  				}
  				result.add(list.get(index));
  			}
  		} else {
  			Object[] array = ((Collection<T>) collection).toArray();
  			for (int index : indexes) {
  				if (index < 0) {
  					index += size;
  				}
  				result.add((T) array[index]);
  			}
  		}
  		return result;
  	}