Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static boolean sindGleich(double[] array1, double[] array2) {
- for (int i = 0; i <= array1.length - 1; i++) {
- for (int j = 0; j <= array2.length - 1; j++) {
- if (array1[i] == array2[j]) {
- return true;
- } else
- return false;
- }
- }
- return false;
- }
Add Comment
Please, Sign In to add comment