mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Implement Cloning for ART Views
Reviewed By: achen1 Differential Revision: D7058410 fbshipit-source-id: 394330654be1ab70853f78580c2543e04a3efb7c
This commit is contained in:
committed by
Facebook Github Bot
parent
486ac9dc82
commit
1b63da753f
@@ -0,0 +1,11 @@
|
||||
package com.facebook.react.common;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public class ArrayUtils {
|
||||
|
||||
public static float[] copyArray(float[] array) {
|
||||
return array == null ? null : Arrays.copyOf(array, array.length);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user