|
Scala example source code file (ArrayRuntime.java)
The ArrayRuntime.java Scala example source code/* __ *\ ** ________ ___ / / ___ Scala API ** ** / __/ __// _ | / / / _ | (c) 2002-2013, LAMP/EPFL ** ** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ ** ** /____/\___/_/ |_/____/_/ | | ** ** |/ ** \* */ package scala.runtime; /** * Methods on Java arrays */ class ArrayRuntime { static boolean[] cloneArray(boolean[] array) { return array.clone(); } static byte[] cloneArray(byte[] array) { return array.clone(); } static short[] cloneArray(short[] array) { return array.clone(); } static char[] cloneArray(char[] array) { return array.clone(); } static int[] cloneArray(int[] array) { return array.clone(); } static long[] cloneArray(long[] array) { return array.clone(); } static float[] cloneArray(float[] array) { return array.clone(); } static double[] cloneArray(double[] array) { return array.clone(); } static Object[] cloneArray(Object[] array) { return array.clone(); } } Other Scala source code examplesHere is a short list of links related to this Scala ArrayRuntime.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.