Package | Description |
---|---|
org.diirt.datasource.graphene | |
org.diirt.util.array |
Set of classes to handle iteration and read-only references to
collections and arrays of primitives, without having to code for each
individual case.
|
org.diirt.util.stats |
Contains classes to handle statistical information.
|
org.diirt.vtype.ndarray |
Modifier and Type | Class and Description |
---|---|
class |
ListDoubleView |
Modifier and Type | Interface and Description |
---|---|
interface |
CollectionByte
A collection of
byte s. |
interface |
CollectionDouble
A collection of
double s. |
interface |
CollectionFloat
A collection of
float s. |
interface |
CollectionInt
A collection of
int s. |
interface |
CollectionLong
A collection of
long s. |
interface |
CollectionShort
A collection of
short s. |
interface |
ListNumber
An ordered collection of numeric (primitive) elements.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayByte
Wraps a
byte[] into a ListByte . |
class |
ArrayDouble
Wraps a
double[] into a ListDouble . |
class |
ArrayFloat
Wraps a
float[] into a ListFloat . |
class |
ArrayInt
Wraps a
int[] into a ListInt . |
class |
ArrayLong
Wraps a
long[] into a ListLong . |
class |
ArrayShort
Wraps a
short[] into a ListShort . |
class |
BufferInt
An implementation of a list on top of buffer.
|
class |
CircularBufferDouble
An implementation of a list on top of a circular buffer.
|
class |
ListByte
An ordered collection of
byte s. |
class |
ListDouble
An ordered collection of
double s. |
class |
ListFloat
An ordered collection of
float s. |
class |
ListInt
An ordered collection of
int s. |
class |
ListLong
An ordered collection of
long s. |
class |
ListShort
An ordered collection of
short s. |
class |
SortedListView
A sorted view of a list.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
CollectionNumbers.byteArrayCopyOf(CollectionNumber coll)
Copies the content of the collection to an array.
|
static byte[] |
CollectionNumbers.byteArrayWrappedOrCopy(CollectionNumber coll)
Returns either the wrapped array (if exists and matches the type)
or a copy - USE WITH CAUTION AS IT MAY EXPOSE THE INTERNAL STATE
OF THE COLLECTION.
|
static double[] |
CollectionNumbers.doubleArrayCopyOf(CollectionNumber coll)
Copies the content of the collection to an array.
|
static double[] |
CollectionNumbers.doubleArrayWrappedOrCopy(CollectionNumber coll)
Returns either the wrapped array (if exists and matches the type)
or a copy - USE WITH CAUTION AS IT MAY EXPOSE THE INTERNAL STATE
OF THE COLLECTION.
|
static float[] |
CollectionNumbers.floatArrayCopyOf(CollectionNumber coll)
Copies the content of the collection to an array.
|
static float[] |
CollectionNumbers.floatArrayWrappedOrCopy(CollectionNumber coll)
Returns either the wrapped array (if exists and matches the type)
or a copy - USE WITH CAUTION AS IT MAY EXPOSE THE INTERNAL STATE
OF THE COLLECTION.
|
static int[] |
CollectionNumbers.intArrayCopyOf(CollectionNumber coll)
Copies the content of the collection to an array.
|
static int[] |
CollectionNumbers.intArrayWrappedOrCopy(CollectionNumber coll)
Returns either the wrapped array (if exists and matches the type)
or a copy - USE WITH CAUTION AS IT MAY EXPOSE THE INTERNAL STATE
OF THE COLLECTION.
|
static long[] |
CollectionNumbers.longArrayCopyOf(CollectionNumber coll)
Copies the content of the collection to an array.
|
static long[] |
CollectionNumbers.longArrayWrappedOrCopy(CollectionNumber coll)
Returns either the wrapped array (if exists and matches the type)
or a copy - USE WITH CAUTION AS IT MAY EXPOSE THE INTERNAL STATE
OF THE COLLECTION.
|
static short[] |
CollectionNumbers.shortArrayCopyOf(CollectionNumber coll)
Copies the content of the collection to an array.
|
static short[] |
CollectionNumbers.shortArrayWrappedOrCopy(CollectionNumber coll)
Returns either the wrapped array (if exists and matches the type)
or a copy - USE WITH CAUTION AS IT MAY EXPOSE THE INTERNAL STATE
OF THE COLLECTION.
|
static Object |
CollectionNumbers.wrappedArray(CollectionNumber coll)
If available, return the array wrapped by the collection - USE WITH
CAUTION AS IT EXPOSES THE INTERNAL STATE OF THE COLLECTION.
|
static byte[] |
CollectionNumbers.wrappedByteArray(CollectionNumber coll)
If available, return the array wrapped by the collection - USE WITH
CAUTION AS IT EXPOSES THE INTERNAL STATE OF THE COLLECTION.
|
static double[] |
CollectionNumbers.wrappedDoubleArray(CollectionNumber coll)
If available, return the array wrapped by the collection - USE WITH
CAUTION AS IT EXPOSES THE INTERNAL STATE OF THE COLLECTION.
|
static float[] |
CollectionNumbers.wrappedFloatArray(CollectionNumber coll)
If available, return the array wrapped by the collection - USE WITH
CAUTION AS IT EXPOSES THE INTERNAL STATE OF THE COLLECTION.
|
static int[] |
CollectionNumbers.wrappedIntArray(CollectionNumber coll)
If available, return the array wrapped by the collection - USE WITH
CAUTION AS IT EXPOSES THE INTERNAL STATE OF THE COLLECTION.
|
static long[] |
CollectionNumbers.wrappedLongArray(CollectionNumber coll)
If available, return the array wrapped by the collection - USE WITH
CAUTION AS IT EXPOSES THE INTERNAL STATE OF THE COLLECTION.
|
static short[] |
CollectionNumbers.wrappedShortArray(CollectionNumber coll)
If available, return the array wrapped by the collection - USE WITH
CAUTION AS IT EXPOSES THE INTERNAL STATE OF THE COLLECTION.
|
Modifier and Type | Method and Description |
---|---|
static Statistics |
StatisticsUtil.lazyStatisticsOf(CollectionNumber data)
Creates the statistics, excluding NaN values, but the values
are actually calculated when requested.
|
static Statistics |
StatisticsUtil.statisticsOf(CollectionNumber data)
Calculates data statistics, excluding NaN values.
|
Modifier and Type | Class and Description |
---|---|
class |
InvertListNumber |
Copyright © 2015. All rights reserved.