public class BinIO
extends java.lang.Object
This class fills some gaps in the Java API. First of all, you have two buffered, easy-to-use methods to store an object to a file or load an object from a file, and two buffered, easy-to-use methods to store an object to an output stream or to load an object from an input stream.
Second, a natural operation on sequences of primitive elements is to load or
store them in binary form using the DataInput conventions. This
method is much more flexible than storing arrays as objects, as it allows
for partial load, partial store, and makes it easy to read the
resulting files from other languages.
For each primitive type, this class provides methods that read elements
from a DataInput, an InputStream or from a file into an array
or a big array, or expose those elements as a type-specific iterator.
There are also methods that let you choose a byte order and
that work with byte channels.
Analogously, there are
methods that store the content of a (big) array (fragment) or the elements
returned by an iterator to a DataOutput, to an OutputStream,
to a WritableByteChannel, or to a given file. Files
are buffered using FastBufferedInputStream and FastBufferedOutputStream,
or, when possible, with a byte buffer allocated with
ByteBuffer.allocateDirect(int).
Since bytes can be read from or written to any stream, additional methods
makes it possible to load bytes from and
store bytes to a stream. Such methods
use the bulk-read methods of InputStream and OutputStream, but they
also include a workaround for bug #6478546.
The store methods with a specified byte order are particularly useful when writing data that is intended to be mapped into memory, as using the native order enhances performances significantly.
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE
The size used with
ByteBuffer.allocateDirect(int). |
| Modifier and Type | Method and Description |
|---|---|
static it.unimi.dsi.fastutil.booleans.BooleanIterable |
asBooleanIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.booleans.BooleanIterable |
asBooleanIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.booleans.BooleanIterator |
asBooleanIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.booleans.BooleanIterator |
asBooleanIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.booleans.BooleanIterator |
asBooleanIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.bytes.ByteIterable |
asByteIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.bytes.ByteIterable |
asByteIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.bytes.ByteIterator |
asByteIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.bytes.ByteIterator |
asByteIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.bytes.ByteIterator |
asByteIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.chars.CharIterable |
asCharIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.chars.CharIterable |
asCharIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterable object.
|
static it.unimi.dsi.fastutil.chars.CharIterable |
asCharIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.chars.CharIterable |
asCharIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterable object. |
static it.unimi.dsi.fastutil.chars.CharIterator |
asCharIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.chars.CharIterator |
asCharIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.chars.CharIterator |
asCharIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.chars.CharIterator |
asCharIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.chars.CharIterator |
asCharIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterator. |
static it.unimi.dsi.fastutil.chars.CharIterator |
asCharIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
Wraps the given readable channel, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.doubles.DoubleIterable |
asDoubleIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.doubles.DoubleIterable |
asDoubleIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterable object.
|
static it.unimi.dsi.fastutil.doubles.DoubleIterable |
asDoubleIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.doubles.DoubleIterable |
asDoubleIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterable object. |
static it.unimi.dsi.fastutil.doubles.DoubleIterator |
asDoubleIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.doubles.DoubleIterator |
asDoubleIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.doubles.DoubleIterator |
asDoubleIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.doubles.DoubleIterator |
asDoubleIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.doubles.DoubleIterator |
asDoubleIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterator. |
static it.unimi.dsi.fastutil.doubles.DoubleIterator |
asDoubleIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
Wraps the given readable channel, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.floats.FloatIterable |
asFloatIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.floats.FloatIterable |
asFloatIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterable object.
|
static it.unimi.dsi.fastutil.floats.FloatIterable |
asFloatIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.floats.FloatIterable |
asFloatIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterable object. |
static it.unimi.dsi.fastutil.floats.FloatIterator |
asFloatIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.floats.FloatIterator |
asFloatIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.floats.FloatIterator |
asFloatIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.floats.FloatIterator |
asFloatIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.floats.FloatIterator |
asFloatIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterator. |
static it.unimi.dsi.fastutil.floats.FloatIterator |
asFloatIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
Wraps the given readable channel, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.ints.IntIterable |
asIntIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.ints.IntIterable |
asIntIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterable object.
|
static it.unimi.dsi.fastutil.ints.IntIterable |
asIntIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.ints.IntIterable |
asIntIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterable object. |
static it.unimi.dsi.fastutil.ints.IntIterator |
asIntIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.ints.IntIterator |
asIntIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.ints.IntIterator |
asIntIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.ints.IntIterator |
asIntIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.ints.IntIterator |
asIntIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterator. |
static it.unimi.dsi.fastutil.ints.IntIterator |
asIntIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
Wraps the given readable channel, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.longs.LongIterable |
asLongIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.longs.LongIterable |
asLongIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterable object.
|
static it.unimi.dsi.fastutil.longs.LongIterable |
asLongIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.longs.LongIterable |
asLongIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterable object. |
static it.unimi.dsi.fastutil.longs.LongIterator |
asLongIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.longs.LongIterator |
asLongIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.longs.LongIterator |
asLongIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.longs.LongIterator |
asLongIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.longs.LongIterator |
asLongIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterator. |
static it.unimi.dsi.fastutil.longs.LongIterator |
asLongIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
Wraps the given readable channel, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.shorts.ShortIterable |
asShortIterable(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterable object.
|
static it.unimi.dsi.fastutil.shorts.ShortIterable |
asShortIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterable object.
|
static it.unimi.dsi.fastutil.shorts.ShortIterable |
asShortIterable(java.io.File file)
Wraps a file given by a
File object into an iterable object. |
static it.unimi.dsi.fastutil.shorts.ShortIterable |
asShortIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterable object. |
static it.unimi.dsi.fastutil.shorts.ShortIterator |
asShortIterator(java.lang.CharSequence filename)
Wraps a file given by a filename into an iterator.
|
static it.unimi.dsi.fastutil.shorts.ShortIterator |
asShortIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Wraps a file given by a filename, using the given byte order, into an iterator.
|
static it.unimi.dsi.fastutil.shorts.ShortIterator |
asShortIterator(java.io.DataInput dataInput)
Wraps the given data input stream into an iterator.
|
static it.unimi.dsi.fastutil.shorts.ShortIterator |
asShortIterator(java.io.File file)
Wraps a file given by a
File object into an iterator. |
static it.unimi.dsi.fastutil.shorts.ShortIterator |
asShortIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
Wraps a file given by a
File object, using the given byte order, into an iterator. |
static it.unimi.dsi.fastutil.shorts.ShortIterator |
asShortIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
Wraps the given readable channel, using the given byte order, into an iterator.
|
static boolean[] |
loadBooleans(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static int |
loadBooleans(java.lang.CharSequence filename,
boolean[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadBooleans(java.lang.CharSequence filename,
boolean[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadBooleans(java.lang.CharSequence filename,
boolean[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadBooleans(java.lang.CharSequence filename,
boolean[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadBooleans(java.io.DataInput dataInput,
boolean[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadBooleans(java.io.DataInput dataInput,
boolean[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadBooleans(java.io.DataInput dataInput,
boolean[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadBooleans(java.io.DataInput dataInput,
boolean[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static boolean[] |
loadBooleans(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static int |
loadBooleans(java.io.File file,
boolean[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadBooleans(java.io.File file,
boolean[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadBooleans(java.io.File file,
boolean[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadBooleans(java.io.File file,
boolean[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static boolean[][] |
loadBooleansBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static boolean[][] |
loadBooleansBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static byte[] |
loadBytes(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static int |
loadBytes(java.lang.CharSequence filename,
byte[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadBytes(java.lang.CharSequence filename,
byte[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadBytes(java.lang.CharSequence filename,
byte[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadBytes(java.lang.CharSequence filename,
byte[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadBytes(java.io.DataInput dataInput,
byte[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadBytes(java.io.DataInput dataInput,
byte[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadBytes(java.io.DataInput dataInput,
byte[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadBytes(java.io.DataInput dataInput,
byte[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static byte[] |
loadBytes(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static int |
loadBytes(java.io.File file,
byte[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadBytes(java.io.File file,
byte[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadBytes(java.io.File file,
byte[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadBytes(java.io.File file,
byte[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static int |
loadBytes(java.io.InputStream inputStream,
byte[] array)
Loads bytes from a given input stream, storing them in a given array.
|
static long |
loadBytes(java.io.InputStream inputStream,
byte[][] array)
Loads bytes from a given readable channel, storing them in a given big array.
|
static long |
loadBytes(java.io.InputStream inputStream,
byte[][] array,
long offset,
long length)
Loads bytes from a given readable channel, storing them in a given big-array fragment.
|
static int |
loadBytes(java.io.InputStream inputStream,
byte[] array,
int offset,
int length)
Loads bytes from a given input stream, storing them in a given array fragment.
|
static int |
loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[] array)
Loads bytes from a given readable channel, storing them in a given array.
|
static long |
loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[][] array)
Loads bytes from a given readable channel, storing them in a given big array.
|
static long |
loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[][] array,
long offset,
long length)
Loads bytes from a given readable channel, storing them in a given big-array fragment.
|
static int |
loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[] array,
int offset,
int length)
Loads bytes from a given readable channel, storing them in a given array fragment.
|
static byte[][] |
loadBytesBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static byte[][] |
loadBytesBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static char[] |
loadChars(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static char[] |
loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new array.
|
static int |
loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array.
|
static long |
loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[][] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big array.
|
static long |
loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[][] array,
long offset,
long length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[] array,
int offset,
int length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array fragment.
|
static int |
loadChars(java.lang.CharSequence filename,
char[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadChars(java.lang.CharSequence filename,
char[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadChars(java.lang.CharSequence filename,
char[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadChars(java.lang.CharSequence filename,
char[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadChars(java.io.DataInput dataInput,
char[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadChars(java.io.DataInput dataInput,
char[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadChars(java.io.DataInput dataInput,
char[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadChars(java.io.DataInput dataInput,
char[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static char[] |
loadChars(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static char[] |
loadChars(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new array. |
static int |
loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array. |
static long |
loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[][] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big array. |
static long |
loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big-array fragment. |
static int |
loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[] array,
int offset,
int length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array fragment. |
static int |
loadChars(java.io.File file,
char[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadChars(java.io.File file,
char[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadChars(java.io.File file,
char[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadChars(java.io.File file,
char[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static int |
loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given array.
|
static long |
loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[][] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given big array.
|
static long |
loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[][] array,
long offset,
long length)
Loads elements from a given readable channel, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[] array,
int offset,
int length)
Loads elements from a given readable channel, using the given byte order, storing them in a given array fragment.
|
static char[][] |
loadCharsBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static char[][] |
loadCharsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new big array.
|
static char[][] |
loadCharsBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static char[][] |
loadCharsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new big array. |
static double[] |
loadDoubles(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static double[] |
loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new array.
|
static int |
loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array.
|
static long |
loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[][] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big array.
|
static long |
loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[][] array,
long offset,
long length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[] array,
int offset,
int length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array fragment.
|
static int |
loadDoubles(java.lang.CharSequence filename,
double[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadDoubles(java.lang.CharSequence filename,
double[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadDoubles(java.lang.CharSequence filename,
double[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadDoubles(java.lang.CharSequence filename,
double[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadDoubles(java.io.DataInput dataInput,
double[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadDoubles(java.io.DataInput dataInput,
double[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadDoubles(java.io.DataInput dataInput,
double[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadDoubles(java.io.DataInput dataInput,
double[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static double[] |
loadDoubles(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static double[] |
loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new array. |
static int |
loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array. |
static long |
loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[][] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big array. |
static long |
loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big-array fragment. |
static int |
loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[] array,
int offset,
int length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array fragment. |
static int |
loadDoubles(java.io.File file,
double[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadDoubles(java.io.File file,
double[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadDoubles(java.io.File file,
double[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadDoubles(java.io.File file,
double[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static int |
loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given array.
|
static long |
loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[][] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given big array.
|
static long |
loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[][] array,
long offset,
long length)
Loads elements from a given readable channel, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[] array,
int offset,
int length)
Loads elements from a given readable channel, using the given byte order, storing them in a given array fragment.
|
static double[][] |
loadDoublesBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static double[][] |
loadDoublesBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new big array.
|
static double[][] |
loadDoublesBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static double[][] |
loadDoublesBig(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new big array. |
static float[] |
loadFloats(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static float[] |
loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new array.
|
static int |
loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array.
|
static long |
loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[][] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big array.
|
static long |
loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[][] array,
long offset,
long length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[] array,
int offset,
int length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array fragment.
|
static int |
loadFloats(java.lang.CharSequence filename,
float[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadFloats(java.lang.CharSequence filename,
float[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadFloats(java.lang.CharSequence filename,
float[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadFloats(java.lang.CharSequence filename,
float[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadFloats(java.io.DataInput dataInput,
float[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadFloats(java.io.DataInput dataInput,
float[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadFloats(java.io.DataInput dataInput,
float[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadFloats(java.io.DataInput dataInput,
float[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static float[] |
loadFloats(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static float[] |
loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new array. |
static int |
loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array. |
static long |
loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[][] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big array. |
static long |
loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big-array fragment. |
static int |
loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[] array,
int offset,
int length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array fragment. |
static int |
loadFloats(java.io.File file,
float[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadFloats(java.io.File file,
float[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadFloats(java.io.File file,
float[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadFloats(java.io.File file,
float[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static int |
loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given array.
|
static long |
loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[][] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given big array.
|
static long |
loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[][] array,
long offset,
long length)
Loads elements from a given readable channel, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[] array,
int offset,
int length)
Loads elements from a given readable channel, using the given byte order, storing them in a given array fragment.
|
static float[][] |
loadFloatsBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static float[][] |
loadFloatsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new big array.
|
static float[][] |
loadFloatsBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static float[][] |
loadFloatsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new big array. |
static int[] |
loadInts(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static int[] |
loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new array.
|
static int |
loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array.
|
static long |
loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[][] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big array.
|
static long |
loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[][] array,
long offset,
long length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[] array,
int offset,
int length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array fragment.
|
static int |
loadInts(java.lang.CharSequence filename,
int[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadInts(java.lang.CharSequence filename,
int[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadInts(java.lang.CharSequence filename,
int[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadInts(java.lang.CharSequence filename,
int[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadInts(java.io.DataInput dataInput,
int[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadInts(java.io.DataInput dataInput,
int[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadInts(java.io.DataInput dataInput,
int[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadInts(java.io.DataInput dataInput,
int[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static int[] |
loadInts(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static int[] |
loadInts(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new array. |
static int |
loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array. |
static long |
loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[][] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big array. |
static long |
loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big-array fragment. |
static int |
loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[] array,
int offset,
int length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array fragment. |
static int |
loadInts(java.io.File file,
int[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadInts(java.io.File file,
int[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadInts(java.io.File file,
int[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadInts(java.io.File file,
int[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static int |
loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given array.
|
static long |
loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[][] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given big array.
|
static long |
loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[][] array,
long offset,
long length)
Loads elements from a given readable channel, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[] array,
int offset,
int length)
Loads elements from a given readable channel, using the given byte order, storing them in a given array fragment.
|
static int[][] |
loadIntsBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static int[][] |
loadIntsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new big array.
|
static int[][] |
loadIntsBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static int[][] |
loadIntsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new big array. |
static long[] |
loadLongs(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static long[] |
loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new array.
|
static int |
loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array.
|
static long |
loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[][] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big array.
|
static long |
loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[][] array,
long offset,
long length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[] array,
int offset,
int length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array fragment.
|
static int |
loadLongs(java.lang.CharSequence filename,
long[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadLongs(java.lang.CharSequence filename,
long[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadLongs(java.lang.CharSequence filename,
long[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadLongs(java.lang.CharSequence filename,
long[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadLongs(java.io.DataInput dataInput,
long[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadLongs(java.io.DataInput dataInput,
long[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadLongs(java.io.DataInput dataInput,
long[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadLongs(java.io.DataInput dataInput,
long[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static long[] |
loadLongs(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static long[] |
loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new array. |
static int |
loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array. |
static long |
loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[][] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big array. |
static long |
loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big-array fragment. |
static int |
loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[] array,
int offset,
int length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array fragment. |
static int |
loadLongs(java.io.File file,
long[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadLongs(java.io.File file,
long[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadLongs(java.io.File file,
long[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadLongs(java.io.File file,
long[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static int |
loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given array.
|
static long |
loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[][] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given big array.
|
static long |
loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[][] array,
long offset,
long length)
Loads elements from a given readable channel, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[] array,
int offset,
int length)
Loads elements from a given readable channel, using the given byte order, storing them in a given array fragment.
|
static long[][] |
loadLongsBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static long[][] |
loadLongsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new big array.
|
static long[][] |
loadLongsBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static long[][] |
loadLongsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new big array. |
static java.lang.Object |
loadObject(java.lang.CharSequence filename)
Loads an object from a file given by a filename.
|
static java.lang.Object |
loadObject(java.io.File file)
Loads an object from a file given by a
File object. |
static java.lang.Object |
loadObject(java.io.InputStream s)
Loads an object from a given input stream.
|
static short[] |
loadShorts(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new array.
|
static short[] |
loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new array.
|
static int |
loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array.
|
static long |
loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[][] array)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big array.
|
static long |
loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[][] array,
long offset,
long length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[] array,
int offset,
int length)
Loads elements from a file given by a filename, using the given byte order, storing them in a given array fragment.
|
static int |
loadShorts(java.lang.CharSequence filename,
short[] array)
Loads elements from a file given by a filename, storing them in a given array.
|
static long |
loadShorts(java.lang.CharSequence filename,
short[][] array)
Loads elements from a file given by a filename, storing them in a given big array.
|
static long |
loadShorts(java.lang.CharSequence filename,
short[][] array,
long offset,
long length)
Loads elements from a file given by a filename, storing them in a given big-array fragment.
|
static int |
loadShorts(java.lang.CharSequence filename,
short[] array,
int offset,
int length)
Loads elements from a file given by a filename, storing them in a given array fragment.
|
static int |
loadShorts(java.io.DataInput dataInput,
short[] array)
Loads elements from a given data input, storing them in a given array.
|
static long |
loadShorts(java.io.DataInput dataInput,
short[][] array)
Loads elements from a given data input, storing them in a given big array.
|
static long |
loadShorts(java.io.DataInput dataInput,
short[][] array,
long offset,
long length)
Loads elements from a given data input, storing them in a given big-array fragment.
|
static int |
loadShorts(java.io.DataInput dataInput,
short[] array,
int offset,
int length)
Loads elements from a given data input, storing them in a given array fragment.
|
static short[] |
loadShorts(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new array. |
static short[] |
loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new array. |
static int |
loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array. |
static long |
loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[][] array)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big array. |
static long |
loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given big-array fragment. |
static int |
loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[] array,
int offset,
int length)
Loads elements from a file given by a
File object, using the given byte order, storing them in a given array fragment. |
static int |
loadShorts(java.io.File file,
short[] array)
Loads elements from a file given by a
File object, storing them in a given array. |
static long |
loadShorts(java.io.File file,
short[][] array)
Loads elements from a file given by a
File object, storing them in a given big array. |
static long |
loadShorts(java.io.File file,
short[][] array,
long offset,
long length)
Loads elements from a file given by a
File object, storing them in a given big-array fragment. |
static int |
loadShorts(java.io.File file,
short[] array,
int offset,
int length)
Loads elements from a file given by a
File object, storing them in a given array fragment. |
static int |
loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given array.
|
static long |
loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[][] array)
Loads elements from a given readable channel, using the given byte order, storing them in a given big array.
|
static long |
loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[][] array,
long offset,
long length)
Loads elements from a given readable channel, using the given byte order, storing them in a given big-array fragment.
|
static int |
loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[] array,
int offset,
int length)
Loads elements from a given readable channel, using the given byte order, storing them in a given array fragment.
|
static short[][] |
loadShortsBig(java.lang.CharSequence filename)
Loads elements from a file given by a filename, storing them in a new big array.
|
static short[][] |
loadShortsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a filename, using the given byte order, storing them in a new big array.
|
static short[][] |
loadShortsBig(java.io.File file)
Loads elements from a file given by a
File object, storing them in a new big array. |
static short[][] |
loadShortsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
Loads elements from a file given by a
File object, using the given byte order, storing them in a new big array. |
static void |
storeBooleans(boolean[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeBooleans(boolean[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeBooleans(boolean[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeBooleans(boolean[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeBooleans(boolean[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeBooleans(boolean[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeBooleans(boolean[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeBooleans(boolean[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeBooleans(boolean[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeBooleans(boolean[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeBooleans(boolean[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeBooleans(boolean[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeBooleans(it.unimi.dsi.fastutil.booleans.BooleanIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeBooleans(it.unimi.dsi.fastutil.booleans.BooleanIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeBooleans(it.unimi.dsi.fastutil.booleans.BooleanIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeBytes(byte[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeBytes(byte[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeBytes(byte[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeBytes(byte[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeBytes(byte[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeBytes(byte[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeBytes(byte[][] array,
long offset,
long length,
java.io.OutputStream outputStream)
Stores a big-array fragment to a given writable channel.
|
static void |
storeBytes(byte[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel)
Stores a big-array fragment to a given writable channel.
|
static void |
storeBytes(byte[][] array,
java.io.OutputStream outputStream)
Stores a big array to a given writable channel.
|
static void |
storeBytes(byte[][] array,
java.nio.channels.WritableByteChannel channel)
Stores a big array to a given writable channel.
|
static void |
storeBytes(byte[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeBytes(byte[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeBytes(byte[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeBytes(byte[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeBytes(byte[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeBytes(byte[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeBytes(byte[] array,
int offset,
int length,
java.io.OutputStream outputStream)
Stores an array fragment to a given writable channel.
|
static void |
storeBytes(byte[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel)
Stores an array fragment to a given writable channel.
|
static void |
storeBytes(byte[] array,
java.io.OutputStream outputStream)
Stores an array to a given writable channel.
|
static void |
storeBytes(byte[] array,
java.nio.channels.WritableByteChannel channel)
Stores an array to a given writable channel.
|
static void |
storeBytes(it.unimi.dsi.fastutil.bytes.ByteIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeBytes(it.unimi.dsi.fastutil.bytes.ByteIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeBytes(it.unimi.dsi.fastutil.bytes.ByteIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeChars(char[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeChars(char[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big array to a file given by a filename, using the given byte order.
|
static void |
storeChars(char[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeChars(char[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeChars(char[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeChars(char[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeChars(char[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a filename, using the given byte order.
|
static void |
storeChars(char[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeChars(char[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeChars(char[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a
File object, using the given byte order. |
static void |
storeChars(char[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeChars(char[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores a big array to a given writable channel, using the given byte order.
|
static void |
storeChars(char[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeChars(char[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a filename, using the given byte order.
|
static void |
storeChars(char[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeChars(char[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeChars(char[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeChars(char[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeChars(char[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a filename, using the given byte order.
|
static void |
storeChars(char[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeChars(char[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeChars(char[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a
File object, using the given byte order. |
static void |
storeChars(char[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeChars(char[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array to a given writable channel, using the given byte order.
|
static void |
storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a filename, using the given byte order.
|
static void |
storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a
File object, using the given byte order. |
static void |
storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a given writable channel, using the given byte order.
|
static void |
storeDoubles(double[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeDoubles(double[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big array to a file given by a filename, using the given byte order.
|
static void |
storeDoubles(double[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeDoubles(double[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeDoubles(double[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeDoubles(double[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeDoubles(double[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a filename, using the given byte order.
|
static void |
storeDoubles(double[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeDoubles(double[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeDoubles(double[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a
File object, using the given byte order. |
static void |
storeDoubles(double[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeDoubles(double[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores a big array to a given writable channel, using the given byte order.
|
static void |
storeDoubles(double[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeDoubles(double[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a filename, using the given byte order.
|
static void |
storeDoubles(double[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeDoubles(double[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeDoubles(double[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeDoubles(double[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeDoubles(double[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a filename, using the given byte order.
|
static void |
storeDoubles(double[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeDoubles(double[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeDoubles(double[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a
File object, using the given byte order. |
static void |
storeDoubles(double[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeDoubles(double[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array to a given writable channel, using the given byte order.
|
static void |
storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a filename, using the given byte order.
|
static void |
storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a
File object, using the given byte order. |
static void |
storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a given writable channel, using the given byte order.
|
static void |
storeFloats(float[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeFloats(float[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big array to a file given by a filename, using the given byte order.
|
static void |
storeFloats(float[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeFloats(float[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeFloats(float[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeFloats(float[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeFloats(float[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a filename, using the given byte order.
|
static void |
storeFloats(float[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeFloats(float[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeFloats(float[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a
File object, using the given byte order. |
static void |
storeFloats(float[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeFloats(float[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores a big array to a given writable channel, using the given byte order.
|
static void |
storeFloats(float[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeFloats(float[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a filename, using the given byte order.
|
static void |
storeFloats(float[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeFloats(float[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeFloats(float[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeFloats(float[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeFloats(float[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a filename, using the given byte order.
|
static void |
storeFloats(float[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeFloats(float[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeFloats(float[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a
File object, using the given byte order. |
static void |
storeFloats(float[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeFloats(float[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array to a given writable channel, using the given byte order.
|
static void |
storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a filename, using the given byte order.
|
static void |
storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a
File object, using the given byte order. |
static void |
storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a given writable channel, using the given byte order.
|
static void |
storeInts(int[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeInts(int[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big array to a file given by a filename, using the given byte order.
|
static void |
storeInts(int[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeInts(int[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeInts(int[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeInts(int[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeInts(int[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a filename, using the given byte order.
|
static void |
storeInts(int[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeInts(int[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeInts(int[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a
File object, using the given byte order. |
static void |
storeInts(int[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeInts(int[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores a big array to a given writable channel, using the given byte order.
|
static void |
storeInts(int[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeInts(int[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a filename, using the given byte order.
|
static void |
storeInts(int[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeInts(int[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeInts(int[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeInts(int[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeInts(int[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a filename, using the given byte order.
|
static void |
storeInts(int[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeInts(int[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeInts(int[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a
File object, using the given byte order. |
static void |
storeInts(int[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeInts(int[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array to a given writable channel, using the given byte order.
|
static void |
storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a filename, using the given byte order.
|
static void |
storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a
File object, using the given byte order. |
static void |
storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a given writable channel, using the given byte order.
|
static void |
storeLongs(long[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeLongs(long[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big array to a file given by a filename, using the given byte order.
|
static void |
storeLongs(long[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeLongs(long[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeLongs(long[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeLongs(long[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeLongs(long[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a filename, using the given byte order.
|
static void |
storeLongs(long[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeLongs(long[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeLongs(long[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a
File object, using the given byte order. |
static void |
storeLongs(long[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeLongs(long[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores a big array to a given writable channel, using the given byte order.
|
static void |
storeLongs(long[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeLongs(long[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a filename, using the given byte order.
|
static void |
storeLongs(long[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeLongs(long[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeLongs(long[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeLongs(long[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeLongs(long[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a filename, using the given byte order.
|
static void |
storeLongs(long[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeLongs(long[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeLongs(long[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a
File object, using the given byte order. |
static void |
storeLongs(long[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeLongs(long[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array to a given writable channel, using the given byte order.
|
static void |
storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a filename, using the given byte order.
|
static void |
storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a
File object, using the given byte order. |
static void |
storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a given writable channel, using the given byte order.
|
static void |
storeObject(java.lang.Object o,
java.lang.CharSequence filename)
Stores an object in a file given by a filename.
|
static void |
storeObject(java.lang.Object o,
java.io.File file)
Stores an object in a file given by a
File object. |
static void |
storeObject(java.lang.Object o,
java.io.OutputStream s)
Stores an object in a given output stream.
|
static void |
storeShorts(short[][] array,
java.lang.CharSequence filename)
Stores a big array to a file given by a filename.
|
static void |
storeShorts(short[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big array to a file given by a filename, using the given byte order.
|
static void |
storeShorts(short[][] array,
java.io.DataOutput dataOutput)
Stores a big array to a given data output.
|
static void |
storeShorts(short[][] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeShorts(short[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeShorts(short[][] array,
long offset,
long length,
java.lang.CharSequence filename)
Stores a big-array fragment to a file given by a filename.
|
static void |
storeShorts(short[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a filename, using the given byte order.
|
static void |
storeShorts(short[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeShorts(short[][] array,
long offset,
long length,
java.io.File file)
Stores a big-array fragment to a file given by a
File object. |
static void |
storeShorts(short[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores a big-array fragment to a file given by a
File object, using the given byte order. |
static void |
storeShorts(short[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeShorts(short[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores a big array to a given writable channel, using the given byte order.
|
static void |
storeShorts(short[] array,
java.lang.CharSequence filename)
Stores an array to a file given by a filename.
|
static void |
storeShorts(short[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a filename, using the given byte order.
|
static void |
storeShorts(short[] array,
java.io.DataOutput dataOutput)
Stores an array to a given data output.
|
static void |
storeShorts(short[] array,
java.io.File file)
Stores an array to a file given by a
File object. |
static void |
storeShorts(short[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array to a file given by a
File object, using the given byte order. |
static void |
storeShorts(short[] array,
int offset,
int length,
java.lang.CharSequence filename)
Stores an array fragment to a file given by a filename.
|
static void |
storeShorts(short[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a filename, using the given byte order.
|
static void |
storeShorts(short[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
Stores an array fragment to a given data output.
|
static void |
storeShorts(short[] array,
int offset,
int length,
java.io.File file)
Stores an array fragment to a file given by a
File object. |
static void |
storeShorts(short[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a file given by a
File object, using the given byte order. |
static void |
storeShorts(short[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array fragment to a given writable channel, using the given byte order.
|
static void |
storeShorts(short[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores an array to a given writable channel, using the given byte order.
|
static void |
storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.lang.CharSequence filename)
Stores the element returned by an iterator to a file given by a filename.
|
static void |
storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a filename, using the given byte order.
|
static void |
storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.io.DataOutput dataOutput)
Stores the element returned by an iterator to a given data output.
|
static void |
storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.io.File file)
Stores the element returned by an iterator to a file given by a
File object. |
static void |
storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a file given by a
File object, using the given byte order. |
static void |
storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
Stores the element returned by an iterator to a given writable channel, using the given byte order.
|
public static int BUFFER_SIZE
ByteBuffer.allocateDirect(int).public static void storeObject(java.lang.Object o,
java.io.File file)
throws java.io.IOException
File object.o - an object.file - a file.java.io.IOExceptionloadObject(File)public static void storeObject(java.lang.Object o,
java.lang.CharSequence filename)
throws java.io.IOException
o - an object.filename - a filename.java.io.IOExceptionloadObject(CharSequence)public static java.lang.Object loadObject(java.io.File file)
throws java.io.IOException,
java.lang.ClassNotFoundException
File object.file - a file.java.io.IOExceptionjava.lang.ClassNotFoundExceptionstoreObject(Object, File)public static java.lang.Object loadObject(java.lang.CharSequence filename)
throws java.io.IOException,
java.lang.ClassNotFoundException
filename - a filename.java.io.IOExceptionjava.lang.ClassNotFoundExceptionstoreObject(Object, CharSequence)public static void storeObject(java.lang.Object o,
java.io.OutputStream s)
throws java.io.IOException
This method buffers s, and flushes all wrappers after
calling writeObject(), but does not close s.
o - an object.s - an output stream.java.io.IOExceptionloadObject(InputStream)public static java.lang.Object loadObject(java.io.InputStream s)
throws java.io.IOException,
java.lang.ClassNotFoundException
Warning: this method buffers the input stream. As a consequence,
subsequent reads from the same stream may not give the desired results, as bytes
may have been read by the internal buffer, but not used by readObject().
This is a feature, as this method is targeted at one-shot reading from streams,
e.g., reading exactly one object from System.in.
s - an input stream.java.io.IOExceptionjava.lang.ClassNotFoundExceptionstoreObject(Object, OutputStream)public static int loadBooleans(java.io.DataInput dataInput,
boolean[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadBooleans(java.io.DataInput dataInput,
boolean[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadBooleans(java.io.File file,
boolean[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadBooleans(java.lang.CharSequence filename,
boolean[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadBooleans(java.io.File file,
boolean[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadBooleans(java.lang.CharSequence filename,
boolean[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static boolean[] loadBooleans(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static boolean[] loadBooleans(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeBooleans(boolean[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeBooleans(boolean[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeBooleans(boolean[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeBooleans(boolean[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeBooleans(boolean[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeBooleans(boolean[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadBooleans(java.io.DataInput dataInput,
boolean[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadBooleans(java.io.DataInput dataInput,
boolean[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadBooleans(java.io.File file,
boolean[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadBooleans(java.lang.CharSequence filename,
boolean[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadBooleans(java.io.File file,
boolean[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadBooleans(java.lang.CharSequence filename,
boolean[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static boolean[][] loadBooleansBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static boolean[][] loadBooleansBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeBooleans(boolean[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeBooleans(boolean[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeBooleans(boolean[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeBooleans(boolean[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeBooleans(boolean[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeBooleans(boolean[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeBooleans(it.unimi.dsi.fastutil.booleans.BooleanIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeBooleans(it.unimi.dsi.fastutil.booleans.BooleanIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeBooleans(it.unimi.dsi.fastutil.booleans.BooleanIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.booleans.BooleanIterator asBooleanIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.booleans.BooleanIterator asBooleanIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.booleans.BooleanIterator asBooleanIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.booleans.BooleanIterable asBooleanIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.booleans.BooleanIterable asBooleanIterable(java.lang.CharSequence filename)
filename - a filename.public static int loadBytes(java.io.InputStream inputStream,
byte[] array,
int offset,
int length)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses InputStream's bulk-read methods.
inputStream - an input stream.array - an array which will be filled with data from inputStream.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.inputStream (it might be less than length if inputStream ends).java.io.IOExceptionpublic static int loadBytes(java.io.InputStream inputStream,
byte[] array)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[])
as it uses InputStream's bulk-read methods.
inputStream - an input stream.array - an array which will be filled with data from inputStream.inputStream (it might be less than the array length if inputStream ends).java.io.IOExceptionpublic static void storeBytes(byte[] array,
int offset,
int length,
java.io.OutputStream outputStream)
throws java.io.IOException
Note that this method is going to be significantly faster than storeBytes(byte[],int,int,DataOutput)
as it uses OutputStream's bulk-write methods.
array - an array whose elements will be written to outputStream.offset - the index of the first element of array to be written.length - the number of elements of array to be written.outputStream - an output stream.java.io.IOExceptionpublic static void storeBytes(byte[] array,
java.io.OutputStream outputStream)
throws java.io.IOException
Note that this method is going to be significantly faster than storeBytes(byte[],DataOutput)
as it uses OutputStream's bulk-write methods.
array - an array whose elements will be written to outputStream.outputStream - an output stream.java.io.IOExceptionpublic static long loadBytes(java.io.InputStream inputStream,
byte[][] array,
long offset,
long length)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[][],long,long)
as it uses InputStream's bulk-read methods.
inputStream - an input stream.array - a big array which will be filled with data from inputStream.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.inputStream (it might be less than length if inputStream ends).java.io.IOExceptionpublic static long loadBytes(java.io.InputStream inputStream,
byte[][] array)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[][])
as it uses InputStream's bulk-read methods.
inputStream - an input stream.array - a big array which will be filled with data from inputStream.inputStream (it might be less than the array length if inputStream ends).java.io.IOExceptionpublic static void storeBytes(byte[][] array,
long offset,
long length,
java.io.OutputStream outputStream)
throws java.io.IOException
Note that this method is going to be significantly faster than storeBytes(byte[][],long,long,DataOutput)
as it uses OutputStream's bulk-write methods.
array - a big array whose elements will be written to outputStream.offset - the index of the first element of array to be written.length - the number of elements of array to be written.outputStream - an output stream.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
java.io.OutputStream outputStream)
throws java.io.IOException
Note that this method is going to be significantly faster than storeBytes(byte[][],DataOutput)
as it uses OutputStream's bulk-write methods.
array - a big array whose elements will be written to outputStream.outputStream - an output stream.java.io.IOExceptionpublic static int loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[] array,
int offset,
int length)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses ReadableByteChannel's bulk-read methods.
channel - a readable channel.array - an array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static int loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[] array)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses ReadableByteChannel's bulk-read methods.
channel - a readable channel.array - an array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static void storeBytes(byte[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses WritableByteChannel's bulk-write methods.
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.java.io.IOExceptionpublic static void storeBytes(byte[] array,
java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses WritableByteChannel's bulk-write methods.
array - an array whose elements will be written to channel.channel - a writable channel.java.io.IOExceptionpublic static long loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[][] array,
long offset,
long length)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses ReadableByteChannel's bulk-read methods.
channel - a readable channel.array - a big array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static long loadBytes(java.nio.channels.ReadableByteChannel channel,
byte[][] array)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses ReadableByteChannel's bulk-read methods.
channel - a readable channel.array - a big array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static void storeBytes(byte[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses WritableByteChannel's bulk-write methods.
array - a big array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
Note that this method is going to be significantly faster than loadBytes(DataInput,byte[],int,int)
as it uses WritableByteChannel's bulk-write methods.
array - a big array whose elements will be written to channel.channel - a writable channel.java.io.IOExceptionpublic static int loadBytes(java.io.DataInput dataInput,
byte[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadBytes(java.io.DataInput dataInput,
byte[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadBytes(java.io.File file,
byte[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadBytes(java.lang.CharSequence filename,
byte[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadBytes(java.io.File file,
byte[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadBytes(java.lang.CharSequence filename,
byte[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static byte[] loadBytes(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static byte[] loadBytes(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeBytes(byte[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeBytes(byte[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeBytes(byte[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeBytes(byte[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeBytes(byte[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeBytes(byte[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadBytes(java.io.DataInput dataInput,
byte[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadBytes(java.io.DataInput dataInput,
byte[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadBytes(java.io.File file,
byte[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadBytes(java.lang.CharSequence filename,
byte[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadBytes(java.io.File file,
byte[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadBytes(java.lang.CharSequence filename,
byte[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static byte[][] loadBytesBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static byte[][] loadBytesBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeBytes(byte[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeBytes(it.unimi.dsi.fastutil.bytes.ByteIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeBytes(it.unimi.dsi.fastutil.bytes.ByteIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeBytes(it.unimi.dsi.fastutil.bytes.ByteIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.bytes.ByteIterator asByteIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.bytes.ByteIterator asByteIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.bytes.ByteIterator asByteIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.bytes.ByteIterable asByteIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.bytes.ByteIterable asByteIterable(java.lang.CharSequence filename)
filename - a filename.public static int loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[] array,
int offset,
int length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static int loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static int loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[] array,
int offset,
int length)
throws java.io.IOException
File object, using the given byte order, storing them in a given array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given array.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static char[] loadChars(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static char[] loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeChars(char[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeChars(char[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeChars(char[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeChars(char[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeChars(char[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeChars(char[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static long loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[][] array,
long offset,
long length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static long loadChars(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
char[][] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static long loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[][] array,
long offset,
long length)
throws java.io.IOException
File object, using the given byte order, storing them in a given big-array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadChars(java.io.File file,
java.nio.ByteOrder byteOrder,
char[][] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given big array.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadChars(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
char[][] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static char[][] loadCharsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static char[][] loadCharsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static void storeChars(char[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeChars(char[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeChars(char[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeChars(char[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeChars(char[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeChars(char[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.i - an iterator whose output will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.chars.CharIterator asCharIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
channel - a readable channel.byteOrder - the byte order of the data from channel.public static it.unimi.dsi.fastutil.chars.CharIterator asCharIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, into an iterator.file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.chars.CharIterator asCharIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.chars.CharIterable asCharIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
File object, using the given byte order, into an iterable object.file - a file.byteOrder - the byte order of the data stored in file.public static it.unimi.dsi.fastutil.chars.CharIterable asCharIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
filename - a filename.byteOrder - the byte order of the data stored in the file filename.public static int loadChars(java.io.DataInput dataInput,
char[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadChars(java.io.DataInput dataInput,
char[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadChars(java.io.File file,
char[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadChars(java.lang.CharSequence filename,
char[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadChars(java.io.File file,
char[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadChars(java.lang.CharSequence filename,
char[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static char[] loadChars(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static char[] loadChars(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeChars(char[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeChars(char[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeChars(char[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeChars(char[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeChars(char[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeChars(char[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadChars(java.io.DataInput dataInput,
char[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadChars(java.io.DataInput dataInput,
char[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadChars(java.io.File file,
char[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadChars(java.lang.CharSequence filename,
char[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadChars(java.io.File file,
char[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadChars(java.lang.CharSequence filename,
char[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static char[][] loadCharsBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static char[][] loadCharsBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeChars(char[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeChars(char[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeChars(char[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeChars(char[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeChars(char[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeChars(char[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeChars(it.unimi.dsi.fastutil.chars.CharIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.chars.CharIterator asCharIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.chars.CharIterator asCharIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.chars.CharIterator asCharIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.chars.CharIterable asCharIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.chars.CharIterable asCharIterable(java.lang.CharSequence filename)
filename - a filename.public static int loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[] array,
int offset,
int length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static int loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static int loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[] array,
int offset,
int length)
throws java.io.IOException
File object, using the given byte order, storing them in a given array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given array.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static short[] loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static short[] loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeShorts(short[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeShorts(short[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeShorts(short[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeShorts(short[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeShorts(short[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeShorts(short[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static long loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[][] array,
long offset,
long length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static long loadShorts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
short[][] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static long loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[][] array,
long offset,
long length)
throws java.io.IOException
File object, using the given byte order, storing them in a given big-array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadShorts(java.io.File file,
java.nio.ByteOrder byteOrder,
short[][] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given big array.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadShorts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
short[][] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static short[][] loadShortsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static short[][] loadShortsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static void storeShorts(short[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeShorts(short[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeShorts(short[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeShorts(short[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeShorts(short[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeShorts(short[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.i - an iterator whose output will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.shorts.ShortIterator asShortIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
channel - a readable channel.byteOrder - the byte order of the data from channel.public static it.unimi.dsi.fastutil.shorts.ShortIterator asShortIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, into an iterator.file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.shorts.ShortIterator asShortIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.shorts.ShortIterable asShortIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
File object, using the given byte order, into an iterable object.file - a file.byteOrder - the byte order of the data stored in file.public static it.unimi.dsi.fastutil.shorts.ShortIterable asShortIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
filename - a filename.byteOrder - the byte order of the data stored in the file filename.public static int loadShorts(java.io.DataInput dataInput,
short[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadShorts(java.io.DataInput dataInput,
short[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadShorts(java.io.File file,
short[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadShorts(java.lang.CharSequence filename,
short[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadShorts(java.io.File file,
short[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadShorts(java.lang.CharSequence filename,
short[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static short[] loadShorts(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static short[] loadShorts(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeShorts(short[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeShorts(short[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeShorts(short[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeShorts(short[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeShorts(short[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeShorts(short[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadShorts(java.io.DataInput dataInput,
short[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadShorts(java.io.DataInput dataInput,
short[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadShorts(java.io.File file,
short[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadShorts(java.lang.CharSequence filename,
short[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadShorts(java.io.File file,
short[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadShorts(java.lang.CharSequence filename,
short[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static short[][] loadShortsBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static short[][] loadShortsBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeShorts(short[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeShorts(short[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeShorts(short[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeShorts(short[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeShorts(short[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeShorts(short[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeShorts(it.unimi.dsi.fastutil.shorts.ShortIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.shorts.ShortIterator asShortIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.shorts.ShortIterator asShortIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.shorts.ShortIterator asShortIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.shorts.ShortIterable asShortIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.shorts.ShortIterable asShortIterable(java.lang.CharSequence filename)
filename - a filename.public static int loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[] array,
int offset,
int length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static int loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static int loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[] array,
int offset,
int length)
throws java.io.IOException
File object, using the given byte order, storing them in a given array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given array.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int[] loadInts(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static int[] loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeInts(int[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeInts(int[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeInts(int[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeInts(int[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeInts(int[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeInts(int[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static long loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[][] array,
long offset,
long length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static long loadInts(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
int[][] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static long loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[][] array,
long offset,
long length)
throws java.io.IOException
File object, using the given byte order, storing them in a given big-array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadInts(java.io.File file,
java.nio.ByteOrder byteOrder,
int[][] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given big array.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadInts(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
int[][] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static int[][] loadIntsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static int[][] loadIntsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static void storeInts(int[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeInts(int[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeInts(int[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeInts(int[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeInts(int[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeInts(int[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.i - an iterator whose output will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.ints.IntIterator asIntIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
channel - a readable channel.byteOrder - the byte order of the data from channel.public static it.unimi.dsi.fastutil.ints.IntIterator asIntIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, into an iterator.file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.ints.IntIterator asIntIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.ints.IntIterable asIntIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
File object, using the given byte order, into an iterable object.file - a file.byteOrder - the byte order of the data stored in file.public static it.unimi.dsi.fastutil.ints.IntIterable asIntIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
filename - a filename.byteOrder - the byte order of the data stored in the file filename.public static int loadInts(java.io.DataInput dataInput,
int[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadInts(java.io.DataInput dataInput,
int[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadInts(java.io.File file,
int[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadInts(java.lang.CharSequence filename,
int[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadInts(java.io.File file,
int[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadInts(java.lang.CharSequence filename,
int[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int[] loadInts(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static int[] loadInts(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeInts(int[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeInts(int[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeInts(int[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeInts(int[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeInts(int[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeInts(int[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadInts(java.io.DataInput dataInput,
int[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadInts(java.io.DataInput dataInput,
int[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadInts(java.io.File file,
int[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadInts(java.lang.CharSequence filename,
int[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadInts(java.io.File file,
int[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadInts(java.lang.CharSequence filename,
int[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static int[][] loadIntsBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static int[][] loadIntsBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeInts(int[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeInts(int[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeInts(int[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeInts(int[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeInts(int[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeInts(int[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeInts(it.unimi.dsi.fastutil.ints.IntIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.ints.IntIterator asIntIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.ints.IntIterator asIntIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.ints.IntIterator asIntIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.ints.IntIterable asIntIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.ints.IntIterable asIntIterable(java.lang.CharSequence filename)
filename - a filename.public static int loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[] array,
int offset,
int length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static int loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static int loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[] array,
int offset,
int length)
throws java.io.IOException
File object, using the given byte order, storing them in a given array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given array.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static float[] loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static float[] loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeFloats(float[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeFloats(float[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeFloats(float[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeFloats(float[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeFloats(float[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeFloats(float[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static long loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[][] array,
long offset,
long length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static long loadFloats(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
float[][] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static long loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[][] array,
long offset,
long length)
throws java.io.IOException
File object, using the given byte order, storing them in a given big-array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadFloats(java.io.File file,
java.nio.ByteOrder byteOrder,
float[][] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given big array.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadFloats(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
float[][] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static float[][] loadFloatsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static float[][] loadFloatsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static void storeFloats(float[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeFloats(float[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeFloats(float[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeFloats(float[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeFloats(float[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeFloats(float[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.i - an iterator whose output will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.floats.FloatIterator asFloatIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
channel - a readable channel.byteOrder - the byte order of the data from channel.public static it.unimi.dsi.fastutil.floats.FloatIterator asFloatIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, into an iterator.file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.floats.FloatIterator asFloatIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.floats.FloatIterable asFloatIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
File object, using the given byte order, into an iterable object.file - a file.byteOrder - the byte order of the data stored in file.public static it.unimi.dsi.fastutil.floats.FloatIterable asFloatIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
filename - a filename.byteOrder - the byte order of the data stored in the file filename.public static int loadFloats(java.io.DataInput dataInput,
float[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadFloats(java.io.DataInput dataInput,
float[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadFloats(java.io.File file,
float[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadFloats(java.lang.CharSequence filename,
float[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadFloats(java.io.File file,
float[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadFloats(java.lang.CharSequence filename,
float[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static float[] loadFloats(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static float[] loadFloats(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeFloats(float[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeFloats(float[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeFloats(float[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeFloats(float[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeFloats(float[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeFloats(float[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadFloats(java.io.DataInput dataInput,
float[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadFloats(java.io.DataInput dataInput,
float[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadFloats(java.io.File file,
float[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadFloats(java.lang.CharSequence filename,
float[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadFloats(java.io.File file,
float[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadFloats(java.lang.CharSequence filename,
float[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static float[][] loadFloatsBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static float[][] loadFloatsBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeFloats(float[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeFloats(float[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeFloats(float[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeFloats(float[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeFloats(float[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeFloats(float[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeFloats(it.unimi.dsi.fastutil.floats.FloatIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.floats.FloatIterator asFloatIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.floats.FloatIterator asFloatIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.floats.FloatIterator asFloatIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.floats.FloatIterable asFloatIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.floats.FloatIterable asFloatIterable(java.lang.CharSequence filename)
filename - a filename.public static int loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[] array,
int offset,
int length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static int loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static int loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[] array,
int offset,
int length)
throws java.io.IOException
File object, using the given byte order, storing them in a given array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given array.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static long[] loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static long[] loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeLongs(long[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeLongs(long[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeLongs(long[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeLongs(long[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeLongs(long[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeLongs(long[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static long loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[][] array,
long offset,
long length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static long loadLongs(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
long[][] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static long loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[][] array,
long offset,
long length)
throws java.io.IOException
File object, using the given byte order, storing them in a given big-array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadLongs(java.io.File file,
java.nio.ByteOrder byteOrder,
long[][] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given big array.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadLongs(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
long[][] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long[][] loadLongsBig(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static long[][] loadLongsBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static void storeLongs(long[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeLongs(long[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeLongs(long[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeLongs(long[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeLongs(long[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeLongs(long[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.i - an iterator whose output will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.longs.LongIterator asLongIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
channel - a readable channel.byteOrder - the byte order of the data from channel.public static it.unimi.dsi.fastutil.longs.LongIterator asLongIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, into an iterator.file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.longs.LongIterator asLongIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.longs.LongIterable asLongIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
File object, using the given byte order, into an iterable object.file - a file.byteOrder - the byte order of the data stored in file.public static it.unimi.dsi.fastutil.longs.LongIterable asLongIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
filename - a filename.byteOrder - the byte order of the data stored in the file filename.public static int loadLongs(java.io.DataInput dataInput,
long[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadLongs(java.io.DataInput dataInput,
long[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadLongs(java.io.File file,
long[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadLongs(java.lang.CharSequence filename,
long[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadLongs(java.io.File file,
long[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadLongs(java.lang.CharSequence filename,
long[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static long[] loadLongs(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static long[] loadLongs(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeLongs(long[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeLongs(long[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeLongs(long[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeLongs(long[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeLongs(long[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeLongs(long[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadLongs(java.io.DataInput dataInput,
long[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadLongs(java.io.DataInput dataInput,
long[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadLongs(java.io.File file,
long[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadLongs(java.lang.CharSequence filename,
long[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadLongs(java.io.File file,
long[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadLongs(java.lang.CharSequence filename,
long[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long[][] loadLongsBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static long[][] loadLongsBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeLongs(long[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeLongs(long[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeLongs(long[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeLongs(long[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeLongs(long[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeLongs(long[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeLongs(it.unimi.dsi.fastutil.longs.LongIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.longs.LongIterator asLongIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.longs.LongIterator asLongIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.longs.LongIterator asLongIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.longs.LongIterable asLongIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.longs.LongIterable asLongIterable(java.lang.CharSequence filename)
filename - a filename.public static int loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[] array,
int offset,
int length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static int loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - an array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static int loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[] array,
int offset,
int length)
throws java.io.IOException
File object, using the given byte order, storing them in a given array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given array.file - a file.byteOrder - the byte order of the data stored in file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static double[] loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static double[] loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeDoubles(double[] array,
int offset,
int length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeDoubles(double[] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeDoubles(double[] array,
int offset,
int length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeDoubles(double[] array,
int offset,
int length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeDoubles(double[] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeDoubles(double[] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static long loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[][] array,
long offset,
long length)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.channel (it might be less than length if channel ends).java.io.IOExceptionpublic static long loadDoubles(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder,
double[][] array)
throws java.io.IOException
channel - a readable channel.byteOrder - the byte order of the data from channel.array - a big array which will be filled with data from channel.channel (it might be less than the array length if channel ends).java.io.IOExceptionpublic static long loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[][] array,
long offset,
long length)
throws java.io.IOException
File object, using the given byte order, storing them in a given big-array fragment.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadDoubles(java.io.File file,
java.nio.ByteOrder byteOrder,
double[][] array)
throws java.io.IOException
File object, using the given byte order, storing them in a given big array.file - a file.byteOrder - the byte order of the data stored in file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadDoubles(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder,
double[][] array)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static double[][] loadDoublesBig(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static double[][] loadDoublesBig(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
long offset,
long length,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - an array whose elements will be written to channel.offset - the index of the first element of array to be written.length - the number of elements of array to be written.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
long offset,
long length,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
long offset,
long length,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.array - an array whose elements will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static void storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.nio.channels.WritableByteChannel channel,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to channel.channel - a writable channel.byteOrder - the byte order to be used to store data in channel.java.io.IOExceptionpublic static void storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order.i - an iterator whose output will be written to file.file - a file.byteOrder - the byte order to be used to store data in file.java.io.IOExceptionpublic static void storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.byteOrder - the byte order to be used to store data in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.doubles.DoubleIterator asDoubleIterator(java.nio.channels.ReadableByteChannel channel,
java.nio.ByteOrder byteOrder)
channel - a readable channel.byteOrder - the byte order of the data from channel.public static it.unimi.dsi.fastutil.doubles.DoubleIterator asDoubleIterator(java.io.File file,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
File object, using the given byte order, into an iterator.file - a file.byteOrder - the byte order of the data stored in file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.doubles.DoubleIterator asDoubleIterator(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
throws java.io.IOException
filename - a filename.byteOrder - the byte order of the data stored in the file filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.doubles.DoubleIterable asDoubleIterable(java.io.File file,
java.nio.ByteOrder byteOrder)
File object, using the given byte order, into an iterable object.file - a file.byteOrder - the byte order of the data stored in file.public static it.unimi.dsi.fastutil.doubles.DoubleIterable asDoubleIterable(java.lang.CharSequence filename,
java.nio.ByteOrder byteOrder)
filename - a filename.byteOrder - the byte order of the data stored in the file filename.public static int loadDoubles(java.io.DataInput dataInput,
double[] array,
int offset,
int length)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static int loadDoubles(java.io.DataInput dataInput,
double[] array)
throws java.io.IOException
dataInput - a data input.array - an array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static int loadDoubles(java.io.File file,
double[] array,
int offset,
int length)
throws java.io.IOException
File object, storing them in a given array fragment.file - a file.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadDoubles(java.lang.CharSequence filename,
double[] array,
int offset,
int length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static int loadDoubles(java.io.File file,
double[] array)
throws java.io.IOException
File object, storing them in a given array.file - a file.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static int loadDoubles(java.lang.CharSequence filename,
double[] array)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.java.io.IOExceptionpublic static double[] loadDoubles(java.io.File file)
throws java.io.IOException
File object, storing them in a new array.
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static double[] loadDoubles(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeDoubles(double[] array,
int offset,
int length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeDoubles(double[] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeDoubles(double[] array,
int offset,
int length,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeDoubles(double[] array,
int offset,
int length,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeDoubles(double[] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeDoubles(double[] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - an array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static long loadDoubles(java.io.DataInput dataInput,
double[][] array,
long offset,
long length)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.dataInput (it might be less than length if dataInput ends).java.io.IOExceptionpublic static long loadDoubles(java.io.DataInput dataInput,
double[][] array)
throws java.io.IOException
dataInput - a data input.array - a big array which will be filled with data from dataInput.dataInput (it might be less than the array length if dataInput ends).java.io.IOExceptionpublic static long loadDoubles(java.io.File file,
double[][] array,
long offset,
long length)
throws java.io.IOException
File object, storing them in a given big-array fragment.file - a file.array - a big array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadDoubles(java.lang.CharSequence filename,
double[][] array,
long offset,
long length)
throws java.io.IOException
filename - a filename.array - an array which will be filled with data from the specified file.offset - the index of the first element of array to be filled.length - the number of elements of array to be filled.length if the file is too short).java.io.IOExceptionpublic static long loadDoubles(java.io.File file,
double[][] array)
throws java.io.IOException
File object, storing them in a given big array.file - a file.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static long loadDoubles(java.lang.CharSequence filename,
double[][] array)
throws java.io.IOException
filename - a filename.array - a big array which will be filled with data from the specified file.java.io.IOExceptionpublic static double[][] loadDoublesBig(java.io.File file)
throws java.io.IOException
File object, storing them in a new big array.
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
file - a file.java.io.IOExceptionpublic static double[][] loadDoublesBig(java.lang.CharSequence filename)
throws java.io.IOException
Note that the length of the returned big array will be computed dividing the specified file size by the number of bytes used to represent each element.
filename - a filename.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
long offset,
long length,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - an array whose elements will be written to dataOutput.offset - the index of the first element of array to be written.length - the number of elements of array to be written.dataOutput - a data output.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
java.io.DataOutput dataOutput)
throws java.io.IOException
array - a big array whose elements will be written to dataOutput.dataOutput - a data output.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
long offset,
long length,
java.io.File file)
throws java.io.IOException
File object.array - a big array whose elements will be written to file.offset - the index of the first element of array to be written.length - the number of elements of array to be written.file - a file.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
long offset,
long length,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.offset - the index of the first element of array to be written.length - the number of elements of array to be written.filename - a filename.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
java.io.File file)
throws java.io.IOException
File object.array - an array whose elements will be written to file.file - a file.java.io.IOExceptionpublic static void storeDoubles(double[][] array,
java.lang.CharSequence filename)
throws java.io.IOException
array - a big array whose elements will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static void storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.io.DataOutput dataOutput)
throws java.io.IOException
i - an iterator whose output will be written to dataOutput.dataOutput - a filename.java.io.IOExceptionpublic static void storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.io.File file)
throws java.io.IOException
File object.i - an iterator whose output will be written to file.file - a file.java.io.IOExceptionpublic static void storeDoubles(it.unimi.dsi.fastutil.doubles.DoubleIterator i,
java.lang.CharSequence filename)
throws java.io.IOException
i - an iterator whose output will be written to the file filename.filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.doubles.DoubleIterator asDoubleIterator(java.io.DataInput dataInput)
dataInput - a data input.public static it.unimi.dsi.fastutil.doubles.DoubleIterator asDoubleIterator(java.io.File file)
throws java.io.IOException
File object into an iterator.file - a file.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.doubles.DoubleIterator asDoubleIterator(java.lang.CharSequence filename)
throws java.io.IOException
filename - a filename.java.io.IOExceptionpublic static it.unimi.dsi.fastutil.doubles.DoubleIterable asDoubleIterable(java.io.File file)
File object into an iterable object.file - a file.public static it.unimi.dsi.fastutil.doubles.DoubleIterable asDoubleIterable(java.lang.CharSequence filename)
filename - a filename.