In standard Java libraries, there is no equivalent functionality.
java.util.Arrays class, but no similar functionality there.
Java arrays have a fixed length, so this cannot be done directly.
If you want to combine two arrays, look at this answer.
If you want to add to the array, you should use a
List or an
I misread your question and mixed up
java.util.Arrays provides some static functions useful when working with arrays. See the official documentation for other functions: http://docs.oracle.com/javase/8/docs/api/java/util/Arrays.html.
Java's equivalent for
Arrays.copyOfRange(array, from, to).
A similar method to
addAll (http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#addAll-int-java.util.Collection-). But you need to use a
java.util.ArrayList instead an array and it is not possible to remove elements with it. You would have to provide the elements as another collection, e.g. an
ArrayList. So it is equivalent to calling
splice(index, 0, element1, element2, ...)