Java examples for java.lang:int Array
Wraps generic elements into an array.
// Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved. import java.lang.reflect.Array; import static jodd.util.StringPool.NULL; public class Main{ /**//from w ww . j a va2s.c o m * Wraps elements into an array. */ public static <T> T[] array(T... elements) { return elements; } }