Package io.vavr.collection
Class ArrayType.DoubleArrayType
java.lang.Object
io.vavr.collection.ArrayType.DoubleArrayType
- All Implemented Interfaces:
ArrayType<Double>
,Serializable
public static final class ArrayType.DoubleArrayType
extends Object
implements ArrayType<Double>, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vavr.collection.ArrayType
ArrayType.BooleanArrayType, ArrayType.ByteArrayType, ArrayType.CharArrayType, ArrayType.DoubleArrayType, ArrayType.FloatArrayType, ArrayType.IntArrayType, ArrayType.LongArrayType, ArrayType.ObjectArrayType, ArrayType.ShortArrayType
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final double[]
(package private) static final ArrayType.DoubleArrayType
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static double[]
private static Object
copyNonEmpty
(Object array, int arraySize, int sourceFrom, int destinationFrom, int size) double[]
empty()
int
void
type()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vavr.collection.ArrayType
asArray, copy, copyDrop, copyRange, copyTake, copyUpdate, grouped, newInstance
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
INSTANCE
-
EMPTY
static final double[] EMPTY
-
-
Constructor Details
-
DoubleArrayType
public DoubleArrayType()
-
-
Method Details
-
cast
-
type
-
empty
public double[] empty() -
lengthOf
-
getAt
-
setAt
- Specified by:
setAt
in interfaceArrayType<Double>
- Throws:
ClassCastException
-
copy
-
copyNonEmpty
-