public class IntegerArrayIO
extends java.lang.Object
Constructor and Description |
---|
IntegerArrayIO() |
Modifier and Type | Method and Description |
---|---|
static int[] |
readArray(java.io.InputStream input) |
static int[][] |
readArray2D(java.io.InputStream input) |
static int[][] |
readSparseArray2D(java.io.InputStream input) |
static void |
writeArray(java.io.OutputStream output,
int[] array) |
static void |
writeArray2D(java.io.OutputStream output,
int[][] array) |
static void |
writeSparseArray2D(java.io.OutputStream output,
int[][] array) |
public static int[] readArray(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static void writeArray(java.io.OutputStream output, int[] array) throws java.io.IOException
java.io.IOException
public static int[][] readArray2D(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static void writeArray2D(java.io.OutputStream output, int[][] array) throws java.io.IOException
java.io.IOException
public static int[][] readSparseArray2D(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static void writeSparseArray2D(java.io.OutputStream output, int[][] array) throws java.io.IOException
java.io.IOException