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