Package io.vavr.collection
Class ArrayType.FloatArrayType
java.lang.Object
io.vavr.collection.ArrayType.FloatArrayType
- All Implemented Interfaces:
ArrayType<Float>
,Serializable
public static final class ArrayType.FloatArrayType
extends Object
implements ArrayType<Float>, 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 float[]
(package private) static final ArrayType.FloatArrayType
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static float[]
private static Object
copyNonEmpty
(Object array, int arraySize, int sourceFrom, int destinationFrom, int size) float[]
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 float[] EMPTY
-
-
Constructor Details
-
FloatArrayType
public FloatArrayType()
-
-
Method Details
-
cast
-
type
-
empty
public float[] empty() -
lengthOf
-
getAt
-
setAt
- Specified by:
setAt
in interfaceArrayType<Float>
- Throws:
ClassCastException
-
copy
-
copyNonEmpty
-