Java AtomicInteger print2DIntArray(int[][] array)

Here you can find the source of print2DIntArray(int[][] array)

Description

print D Int Array

License

Open Source License

Declaration

public static void print2DIntArray(int[][] array) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.concurrent.atomic.AtomicIntegerArray;
import java.util.concurrent.atomic.AtomicReferenceArray;

public class Main {
    public static void print2DIntArray(int[][] array) {
        for (int i = 0; i < array.length; i++) {
            for (int j = 0; j < array[i].length; j++) {
                System.out.print(array[i][j] + " ");
            }//from ww  w  .j a v  a2s  . c  o  m
            System.out.println();
        }
    }

    public static void print2DIntArray(AtomicReferenceArray<AtomicIntegerArray> array) {
        for (int i = 0; i < array.length(); i++) {
            for (int j = 0; j < array.get(i).length(); j++) {
                System.out.print(array.get(i).get(j) + " ");
            }
            System.out.println();
        }
    }
}

Related

  1. getUniqueId()
  2. getUuidAsFourCharacterGroups()
  3. increase(A a, Map map)
  4. isPropBlocked(String s)
  5. loadServiceCount(String id)
  6. printResults(Stream> resultPartitionsStream)
  7. reset()
  8. resetCounter()
  9. resetCounters()