Uses of Class
java.lang.Byte
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Provides the open data types and Open MBean descriptor classes.
Incubating Feature. Will be removed in a future release.
-
Uses of Byte in java.lang
Modifier and TypeFieldDescriptionByte.TYPE
TheClass
instance representing the primitive typebyte
.Modifier and TypeMethodDescriptionstatic Byte
Decodes aString
into aByte
.static Byte
Byte.valueOf(byte b)
Returns aByte
instance representing the specifiedbyte
value.static Byte
Returns aByte
object holding the value given by the specifiedString
.static Byte
Returns aByte
object holding the value extracted from the specifiedString
when parsed with the radix given by the second argument.Modifier and TypeMethodDescriptionByte.describeConstable()
Returns anOptional
containing the nominal descriptor for this instance. -
Uses of Byte in javax.management.openmbean
Modifier and TypeFieldDescriptionstatic SimpleType<Byte>
SimpleType.BYTE
TheSimpleType
instance describing values whose Java class name isjava.lang.Byte
. -
Uses of Byte in jdk.incubator.vector
Modifier and TypeFieldDescriptionstatic VectorOperators.Conversion<Byte,Double>
VectorOperators.B2D
ConvertbyteVal
to(double)byteVal
.static VectorOperators.Conversion<Byte,Float>
VectorOperators.B2F
ConvertbyteVal
to(float)byteVal
.static VectorOperators.Conversion<Byte,Integer>
VectorOperators.B2I
ConvertbyteVal
to(int)byteVal
.static VectorOperators.Conversion<Byte,Long>
VectorOperators.B2L
ConvertbyteVal
to(long)byteVal
.static VectorOperators.Conversion<Byte,Short>
VectorOperators.B2S
ConvertbyteVal
to(short)byteVal
.static VectorOperators.Conversion<Double,Byte>
VectorOperators.D2B
ConvertdoubleVal
to(byte)doubleVal
.static VectorOperators.Conversion<Float,Byte>
VectorOperators.F2B
ConvertfloatVal
to(byte)floatVal
.static VectorOperators.Conversion<Integer,Byte>
VectorOperators.I2B
ConvertintVal
to(byte)intVal
.static VectorOperators.Conversion<Long,Byte>
VectorOperators.L2B
ConvertlongVal
to(byte)longVal
.static VectorOperators.Conversion<Short,Byte>
VectorOperators.S2B
ConvertshortVal
to(byte)shortVal
.static VectorSpecies<Byte>
ByteVector.SPECIES_128
Species representingByteVector
s ofVectorShape.S_128_BIT
.static VectorSpecies<Byte>
ByteVector.SPECIES_256
Species representingByteVector
s ofVectorShape.S_256_BIT
.static VectorSpecies<Byte>
ByteVector.SPECIES_512
Species representingByteVector
s ofVectorShape.S_512_BIT
.static VectorSpecies<Byte>
ByteVector.SPECIES_64
Species representingByteVector
s ofVectorShape.S_64_BIT
.static VectorSpecies<Byte>
ByteVector.SPECIES_MAX
Species representingByteVector
s ofVectorShape.S_Max_BIT
.static VectorSpecies<Byte>
ByteVector.SPECIES_PREFERRED
Preferred species forByteVector
s.static VectorOperators.Conversion<Byte,Integer>
VectorOperators.ZERO_EXTEND_B2I
Zero-extendbyteVal
toint
.static VectorOperators.Conversion<Byte,Long>
VectorOperators.ZERO_EXTEND_B2L
Zero-extendbyteVal
tolong
.static VectorOperators.Conversion<Byte,Short>
VectorOperators.ZERO_EXTEND_B2S
Zero-extendbyteVal
toshort
.Modifier and TypeMethodDescriptionabstract VectorMask<Byte>
ByteVector.compare(VectorOperators.Comparison op, byte e)
Tests this vector by comparing it with an input scalar, according to the given comparison operation.ByteVector.compare(VectorOperators.Comparison op, byte e, VectorMask<Byte> m)
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.abstract VectorMask<Byte>
ByteVector.compare(VectorOperators.Comparison op, long e)
Tests this vector by comparing it with an input scalar, according to the given comparison operation.ByteVector.compare(VectorOperators.Comparison op, long e, VectorMask<Byte> m)
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.abstract VectorMask<Byte>
ByteVector.compare(VectorOperators.Comparison op, Vector<Byte> v)
Tests this vector by comparing it with another input vector, according to the given comparison operation.ByteVector.compare(VectorOperators.Comparison op, Vector<Byte> v, VectorMask<Byte> m)
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.ByteVector.eq(byte e)
Tests if this vector is equal to an input scalar.Tests if this vector is equal to another input vector.ByteVector.lt(byte e)
Tests if this vector is less than an input scalar.Tests if this vector is less than another input vector.abstract VectorMask<Byte>
ByteVector.test(VectorOperators.Test op)
Tests the lanes of this vector according to the given operation.ByteVector.test(VectorOperators.Test op, VectorMask<Byte> m)
Test selected lanes of this vector, according to the given operation.Modifier and TypeMethodDescriptionByteVector.add(byte e, VectorMask<Byte> m)
Adds this vector to the broadcast of an input scalar, selecting lane elements controlled by a mask.Adds this vector to a second input vector.ByteVector.add(Vector<Byte> v, VectorMask<Byte> m)
Adds this vector to a second input vector, selecting lanes under the control of a mask.ByteVector.add(Vector<Byte> v, VectorMask<Byte> m)
Adds this vector to a second input vector, selecting lanes under the control of a mask.Computes the bitwise logical conjunction (&
) of this vector and a second input vector.ByteVector.bitwiseBlend(byte bits, Vector<Byte> mask)
Blends together the bits of a vector and a scalar under the control of another vector, which supplies mask bits.ByteVector.bitwiseBlend(Vector<Byte> bits, byte mask)
Blends together the bits of two vectors under the control of a scalar, which supplies mask bits.ByteVector.bitwiseBlend(Vector<Byte> bits, Vector<Byte> mask)
Blends together the bits of two vectors under the control of a third, which supplies mask bits.ByteVector.blend(byte e, VectorMask<Byte> m)
Replaces selected lanes of this vector with a scalar value under the control of a mask.ByteVector.blend(long e, VectorMask<Byte> m)
Replaces selected lanes of this vector with a scalar value under the control of a mask.abstract ByteVector
ByteVector.blend(Vector<Byte> v, VectorMask<Byte> m)
Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.abstract ByteVector
ByteVector.blend(Vector<Byte> v, VectorMask<Byte> m)
Replaces selected lanes of this vector with corresponding lanes from a second input vector under the control of a mask.static ByteVector
ByteVector.broadcast(VectorSpecies<Byte> species, byte e)
Returns a vector of the given species where all lane elements are set to the primitive valuee
.static ByteVector
ByteVector.broadcast(VectorSpecies<Byte> species, long e)
Returns a vector of the given species where all lane elements are set to the primitive valuee
.ByteVector.compare(VectorOperators.Comparison op, byte e, VectorMask<Byte> m)
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.ByteVector.compare(VectorOperators.Comparison op, long e, VectorMask<Byte> m)
Tests this vector by comparing it with an input scalar, according to the given comparison operation, in lanes selected by a mask.abstract VectorMask<Byte>
ByteVector.compare(VectorOperators.Comparison op, Vector<Byte> v)
Tests this vector by comparing it with another input vector, according to the given comparison operation.ByteVector.compare(VectorOperators.Comparison op, Vector<Byte> v, VectorMask<Byte> m)
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.ByteVector.compare(VectorOperators.Comparison op, Vector<Byte> v, VectorMask<Byte> m)
Tests this vector by comparing it with another input vector, according to the given comparison operation, in lanes selected by a mask.ByteVector.div(byte e, VectorMask<Byte> m)
Divides this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.Divides this vector by a second input vector.ByteVector.div(Vector<Byte> v, VectorMask<Byte> m)
Divides this vector by a second input vector under the control of a mask.ByteVector.div(Vector<Byte> v, VectorMask<Byte> m)
Divides this vector by a second input vector under the control of a mask.Tests if this vector is equal to another input vector.static ByteVector
ByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset)
Loads a vector from an array of typebyte[]
starting at an offset.static ByteVector
ByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, int[] indexMap, int mapOffset)
Gathers a new vector composed of elements from an array of typebyte[]
, using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.static ByteVector
ByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m)
Gathers a new vector composed of elements from an array of typebyte[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.static ByteVector
ByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m)
Gathers a new vector composed of elements from an array of typebyte[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.static ByteVector
ByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, VectorMask<Byte> m)
Loads a vector from an array of typebyte[]
starting at an offset and using a mask.static ByteVector
ByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset, VectorMask<Byte> m)
Loads a vector from an array of typebyte[]
starting at an offset and using a mask.static ByteVector
ByteVector.fromByteArray(VectorSpecies<Byte> species, byte[] a, int offset, ByteOrder bo)
Loads a vector from a byte array starting at an offset.static ByteVector
ByteVector.fromByteArray(VectorSpecies<Byte> species, byte[] a, int offset, ByteOrder bo, VectorMask<Byte> m)
Loads a vector from a byte array starting at an offset and using a mask.static ByteVector
ByteVector.fromByteArray(VectorSpecies<Byte> species, byte[] a, int offset, ByteOrder bo, VectorMask<Byte> m)
Loads a vector from a byte array starting at an offset and using a mask.static ByteVector
ByteVector.fromByteBuffer(VectorSpecies<Byte> species, ByteBuffer bb, int offset, ByteOrder bo)
Loads a vector from a byte buffer starting at an offset into the byte buffer.static ByteVector
ByteVector.fromByteBuffer(VectorSpecies<Byte> species, ByteBuffer bb, int offset, ByteOrder bo, VectorMask<Byte> m)
Loads a vector from a byte buffer starting at an offset into the byte buffer and using a mask.static ByteVector
ByteVector.fromByteBuffer(VectorSpecies<Byte> species, ByteBuffer bb, int offset, ByteOrder bo, VectorMask<Byte> m)
Loads a vector from a byte buffer starting at an offset into the byte buffer and using a mask.void
ByteVector.intoArray(byte[] a, int offset, int[] indexMap, int mapOffset, VectorMask<Byte> m)
Scatters this vector into an array of typebyte[]
, under the control of a mask, and using indexes obtained by adding a fixedoffset
to a series of secondary offsets from an index map.void
ByteVector.intoArray(byte[] a, int offset, VectorMask<Byte> m)
Stores this vector into an array ofbyte
starting at offset and using a mask.void
ByteVector.intoByteArray(byte[] a, int offset, ByteOrder bo, VectorMask<Byte> m)
Stores this vector into a byte array starting at an offset using explicit byte order and a mask.void
ByteVector.intoByteBuffer(ByteBuffer bb, int offset, ByteOrder bo, VectorMask<Byte> m)
Stores this vector into a byte buffer starting at an offset using explicit byte order and a mask.ByteVector.lanewise(VectorOperators.Binary op, byte e, VectorMask<Byte> m)
Combines the lane values of this vector with the value of a broadcast scalar, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Binary op, long e, VectorMask<Byte> m)
Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.abstract ByteVector
ByteVector.lanewise(VectorOperators.Binary op, Vector<Byte> v)
Combines the corresponding lane values of this vector with those of a second input vector.ByteVector.lanewise(VectorOperators.Binary op, Vector<Byte> v, VectorMask<Byte> m)
Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Binary op, Vector<Byte> v, VectorMask<Byte> m)
Combines the corresponding lane values of this vector with those of a second input vector, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Ternary op, byte e1, byte e2, VectorMask<Byte> m)
Combines the lane values of this vector with the values of two broadcast scalars, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Ternary op, byte e1, Vector<Byte> v2)
Combines the lane values of this vector with the values of another vector and a broadcast scalar.ByteVector.lanewise(VectorOperators.Ternary op, byte e1, Vector<Byte> v2, VectorMask<Byte> m)
Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Ternary op, byte e1, Vector<Byte> v2, VectorMask<Byte> m)
Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, byte e2)
Combines the lane values of this vector with the values of another vector and a broadcast scalar.ByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, byte e2, VectorMask<Byte> m)
Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, byte e2, VectorMask<Byte> m)
Combines the lane values of this vector with the values of another vector and a broadcast scalar, with selection of lane elements controlled by a mask.abstract ByteVector
Combines the corresponding lane values of this vector with the lanes of a second and a third input vector.ByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, Vector<Byte> v2, VectorMask<Byte> m)
Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Ternary op, Vector<Byte> v1, Vector<Byte> v2, VectorMask<Byte> m)
Combines the corresponding lane values of this vector with the lanes of a second and a third input vector, with selection of lane elements controlled by a mask.ByteVector.lanewise(VectorOperators.Unary op, VectorMask<Byte> m)
Operates on the lane values of this vector, with selection of lane elements controlled by a mask.Tests if this vector is less than another input vector.Computes the larger of this vector and a second input vector.Computes the smaller of this vector and a second input vector.ByteVector.mul(byte e, VectorMask<Byte> m)
Multiplies this vector by the broadcast of an input scalar, selecting lane elements controlled by a mask.Multiplies this vector by a second input vector.ByteVector.mul(Vector<Byte> v, VectorMask<Byte> m)
Multiplies this vector by a second input vector under the control of a mask.ByteVector.mul(Vector<Byte> v, VectorMask<Byte> m)
Multiplies this vector by a second input vector under the control of a mask.Computes the bitwise logical disjunction (|
) of this vector and a second input vector.abstract ByteVector
ByteVector.rearrange(VectorShuffle<Byte> m)
Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle.abstract ByteVector
ByteVector.rearrange(VectorShuffle<Byte> s, Vector<Byte> v)
Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.abstract ByteVector
ByteVector.rearrange(VectorShuffle<Byte> s, Vector<Byte> v)
Rearranges the lane elements of two vectors, selecting lanes under the control of a specific shuffle, using both normal and exceptional indexes in the shuffle to steer data.abstract ByteVector
ByteVector.rearrange(VectorShuffle<Byte> s, VectorMask<Byte> m)
Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.abstract ByteVector
ByteVector.rearrange(VectorShuffle<Byte> s, VectorMask<Byte> m)
Rearranges the lane elements of this vector, selecting lanes under the control of a specific shuffle and a mask.abstract byte
ByteVector.reduceLanes(VectorOperators.Associative op, VectorMask<Byte> m)
Returns a value accumulated from selected lanes of this vector, controlled by a mask.abstract ByteVector
ByteVector.selectFrom(Vector<Byte> v)
Using index values stored in the lanes of this vector, assemble values stored in second vectorv
.abstract ByteVector
ByteVector.selectFrom(Vector<Byte> s, VectorMask<Byte> m)
Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.abstract ByteVector
ByteVector.selectFrom(Vector<Byte> s, VectorMask<Byte> m)
Using index values stored in the lanes of this vector, assemble values stored in second vector, under the control of a mask.abstract ByteVector
Slices a segment of adjacent lanes, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.ByteVector.slice(int origin, Vector<Byte> w, VectorMask<Byte> m)
Slices a segment of adjacent lanes under the control of a mask, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.ByteVector.slice(int origin, Vector<Byte> w, VectorMask<Byte> m)
Slices a segment of adjacent lanes under the control of a mask, starting at a givenorigin
lane in the current vector, and continuing (as needed) into an immediately following vector.ByteVector.sub(byte e, VectorMask<Byte> m)
Subtracts an input scalar from this vector under the control of a mask.Subtracts a second input vector from this vector.ByteVector.sub(Vector<Byte> v, VectorMask<Byte> m)
Subtracts a second input vector from this vector under the control of a mask.ByteVector.sub(Vector<Byte> v, VectorMask<Byte> m)
Subtracts a second input vector from this vector under the control of a mask.ByteVector.test(VectorOperators.Test op, VectorMask<Byte> m)
Test selected lanes of this vector, according to the given operation.abstract ByteVector
Reverses a slice(), inserting the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.abstract ByteVector
ByteVector.unslice(int origin, Vector<Byte> w, int part, VectorMask<Byte> m)
Reverses a slice(), inserting (under the control of a mask) the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.abstract ByteVector
ByteVector.unslice(int origin, Vector<Byte> w, int part, VectorMask<Byte> m)
Reverses a slice(), inserting (under the control of a mask) the current vector as a slice within another "background" input vector, which is regarded as one or the other input to a hypothetical subsequentslice()
operation.static ByteVector
ByteVector.zero(VectorSpecies<Byte> species)
Returns a vector of the given species where all lane elements are set to zero, the default primitive value.