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