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