Java AtomicLongArray.toString()
Syntax
AtomicLongArray.toString() has the following syntax.
public String toString()
Example
In the following code shows how to use AtomicLongArray.toString() method.
import java.util.concurrent.atomic.AtomicLongArray;
//from w w w . j ava 2 s .co m
public class Main {
public static void main(String[] argv) throws Exception {
AtomicLongArray atomicLongArray = new AtomicLongArray(10);
System.out.println(atomicLongArray.toString());
}
}
The code above generates the following result.