Uses of Class
java.lang.Byte
Packages that useByte
Package
Description
Provides classes that are fundamental to the design of the Javaprogramming language.
Provides classfile parsing, generation, and transformation library.
Provides the open data types and Open MBean descriptor classes.
Incubating Feature. Will be removed in a future release.
Uses ofByte injava.lang
Modifier and TypeClassDescriptionfinal classModifier and TypeMethodDescriptionstaticByteDecodes aStringinto aByte.staticByteByte.valueOf(byte b) Returns aByteinstance representing the specifiedbytevalue.staticByteReturns aByteobject holding the valuegiven by the specifiedString.staticByteReturns aByteobject holding the valueextracted from the specifiedStringwhen parsedwith the radix given by the second argument.Modifier and TypeMethodDescriptionByte.describeConstable()Returns anOptionalcontaining the nominal descriptor for thisinstance.Uses ofByte injava.lang.classfile
Methods injava.lang.classfile that returnByteModifier and TypeMethodDescriptiondefaultByteAnnotationValue.OfByte.resolvedValue()Returns the resolved byte value.Uses ofByte injavax.management.openmbean
Fields injavax.management.openmbean with type parameters of typeByteModifier and TypeFieldDescriptionstatic finalSimpleType<Byte> SimpleType.BYTETheSimpleTypeinstance describing values whoseJava class name isjava.lang.Byte.Uses ofByte injdk.incubator.vector
Subclasses with type arguments of typeByte injdk.incubator.vectorModifier and TypeClassDescriptionclassA specializedVectorrepresenting an ordered immutable sequence ofbytevalues.Fields injdk.incubator.vector with type parameters of typeByteModifier and TypeFieldDescriptionstatic finalVectorOperators.Conversion<Byte, Double> VectorOperators.B2DConvertbyteValto(double)byteVal.static finalVectorOperators.Conversion<Byte, Float> VectorOperators.B2FConvertbyteValto(float)byteVal.static finalVectorOperators.Conversion<Byte, Integer> VectorOperators.B2IConvertbyteValto(int)byteVal.static finalVectorOperators.Conversion<Byte, Long> VectorOperators.B2LConvertbyteValto(long)byteVal.static finalVectorOperators.Conversion<Byte, Short> VectorOperators.B2SConvertbyteValto(short)byteVal.static finalVectorOperators.Conversion<Double, Byte> VectorOperators.D2BConvertdoubleValto(byte)doubleVal.static finalVectorOperators.Conversion<Float, Byte> VectorOperators.F2BConvertfloatValto(byte)floatVal.static finalVectorOperators.Conversion<Integer, Byte> VectorOperators.I2BConvertintValto(byte)intVal.static finalVectorOperators.Conversion<Long, Byte> VectorOperators.L2BConvertlongValto(byte)longVal.static finalVectorOperators.Conversion<Short, Byte> VectorOperators.S2BConvertshortValto(byte)shortVal.static finalVectorSpecies<Byte> ByteVector.SPECIES_128Species representingByteVectors ofVectorShape.S_128_BIT.static finalVectorSpecies<Byte> ByteVector.SPECIES_256Species representingByteVectors ofVectorShape.S_256_BIT.static finalVectorSpecies<Byte> ByteVector.SPECIES_512Species representingByteVectors ofVectorShape.S_512_BIT.static finalVectorSpecies<Byte> ByteVector.SPECIES_64Species representingByteVectors ofVectorShape.S_64_BIT.static finalVectorSpecies<Byte> ByteVector.SPECIES_MAXSpecies representingByteVectors ofVectorShape.S_Max_BIT.static finalVectorSpecies<Byte> ByteVector.SPECIES_PREFERREDPreferred species forByteVectors.static finalVectorOperators.Conversion<Byte, Integer> VectorOperators.ZERO_EXTEND_B2IZero-extendbyteValtoint.static finalVectorOperators.Conversion<Byte, Long> VectorOperators.ZERO_EXTEND_B2LZero-extendbyteValtolong.static finalVectorOperators.Conversion<Byte, Short> VectorOperators.ZERO_EXTEND_B2SZero-extendbyteValtoshort.Methods injdk.incubator.vector that return types with arguments of typeByteModifier and TypeMethodDescriptionabstractVectorMask<Byte> ByteVector.compare(VectorOperators.Comparison op, byte e) Tests this vector by comparing it with an input scalar,according to the given comparison operation.finalVectorMask<Byte> 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.abstractVectorMask<Byte> ByteVector.compare(VectorOperators.Comparison op, long e) Tests this vector by comparing it with an input scalar,according to the given comparison operation.finalVectorMask<Byte> 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.abstractVectorMask<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.finalVectorMask<Byte> ByteVector.eq(byte e) Tests if this vector is equal to an input scalar.finalVectorMask<Byte> Tests if this vector is equal to another input vector.finalVectorMask<Byte> ByteVector.lt(byte e) Tests if this vector is less than an input scalar.finalVectorMask<Byte> Tests if this vector is less than another input vector.abstractVectorMask<Byte> ByteVector.test(VectorOperators.Test op) Tests the lanes of this vectoraccording to the given operation.abstractVectorMask<Byte> ByteVector.test(VectorOperators.Test op,VectorMask<Byte> m) Test selected lanes of this vector,according to the given operation.Method parameters injdk.incubator.vector with type arguments of typeByteModifier and TypeMethodDescriptionfinalByteVectorByteVector.add(byte e,VectorMask<Byte> m) Adds this vector to the broadcast of an input scalar,selecting lane elements controlled by a mask.finalByteVectorAdds this vector to a second input vector.finalByteVectorByteVector.add(Vector<Byte> v,VectorMask<Byte> m) Adds this vector to a second input vector, selecting lanesunder the control of a mask.finalByteVectorByteVector.add(Vector<Byte> v,VectorMask<Byte> m) Adds this vector to a second input vector, selecting lanesunder the control of a mask.finalByteVectorComputes the bitwise logical conjunction (&)of this vector and a second input vector.finalByteVectorByteVector.bitwiseBlend(byte bits,Vector<Byte> mask) Blends together the bits of a vector and a scalar underthe control of another vector, which supplies mask bits.finalByteVectorByteVector.bitwiseBlend(Vector<Byte> bits, byte mask) Blends together the bits of two vectors underthe control of a scalar, which supplies mask bits.finalByteVectorByteVector.bitwiseBlend(Vector<Byte> bits,Vector<Byte> mask) Blends together the bits of two vectors underthe control of a third, which supplies mask bits.finalByteVectorByteVector.blend(byte e,VectorMask<Byte> m) Replaces selected lanes of this vector witha scalar valueunder the control of a mask.finalByteVectorByteVector.blend(long e,VectorMask<Byte> m) Replaces selected lanes of this vector witha scalar valueunder the control of a mask.abstractByteVectorByteVector.blend(Vector<Byte> v,VectorMask<Byte> m) Replaces selected lanes of this vector withcorresponding lanes from a second input vectorunder the control of a mask.abstractByteVectorByteVector.blend(Vector<Byte> v,VectorMask<Byte> m) Replaces selected lanes of this vector withcorresponding lanes from a second input vectorunder the control of a mask.staticByteVectorByteVector.broadcast(VectorSpecies<Byte> species, byte e) Returns a vector of the given specieswhere all lane elements are set tothe primitive valuee.staticByteVectorByteVector.broadcast(VectorSpecies<Byte> species, long e) Returns a vector of the given specieswhere all lane elements are set tothe primitive valuee.finalVectorMask<Byte> 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.finalVectorMask<Byte> 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.abstractVectorMask<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.abstractByteVectorByteVector.compress(VectorMask<Byte> m) Compresses the lane elements of this vector selecting lanesunder the control of a specific mask.finalByteVectorByteVector.div(byte e,VectorMask<Byte> m) Divides this vector by the broadcast of an input scalar,selecting lane elements controlled by a mask.finalByteVectorDivides this vector by a second input vector.finalByteVectorByteVector.div(Vector<Byte> v,VectorMask<Byte> m) Divides this vector by a second input vectorunder the control of a mask.finalByteVectorByteVector.div(Vector<Byte> v,VectorMask<Byte> m) Divides this vector by a second input vectorunder the control of a mask.finalVectorMask<Byte> Tests if this vector is equal to another input vector.abstractByteVectorByteVector.expand(VectorMask<Byte> m) Expands the lane elements of this vectorunder the control of a specific mask.staticByteVectorByteVector.fromArray(VectorSpecies<Byte> species, byte[] a, int offset) Loads a vector from an array of typebyte[]starting at an offset.staticByteVectorByteVector.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 fixedoffsetto aseries of secondary offsets from anindex map.staticByteVectorByteVector.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, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticByteVectorByteVector.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, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticByteVectorByteVector.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.staticByteVectorByteVector.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.staticByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset) Loads a vector from an array of typeboolean[]starting at an offset.staticByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, int[] indexMap, int mapOffset) Gathers a new vector composed of elements from an array of typeboolean[],using indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Byte> m) Gathers a new vector composed of elements from an array of typeboolean[],under the control of a mask, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Byte> m) Gathers a new vector composed of elements from an array of typeboolean[],under the control of a mask, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.staticByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset,VectorMask<Byte> m) Loads a vector from an array of typeboolean[]starting at an offset and using a mask.staticByteVectorByteVector.fromBooleanArray(VectorSpecies<Byte> species, boolean[] a, int offset,VectorMask<Byte> m) Loads a vector from an array of typeboolean[]starting at an offset and using a mask.staticByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species,MemorySegment ms, long offset,ByteOrder bo) Loads a vector from amemory segmentstarting at an offset into the memory segment.staticByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species,MemorySegment ms, long offset,ByteOrder bo,VectorMask<Byte> m) Loads a vector from amemory segmentstarting at an offset into the memory segmentand using a mask.staticByteVectorByteVector.fromMemorySegment(VectorSpecies<Byte> species,MemorySegment ms, long offset,ByteOrder bo,VectorMask<Byte> m) Loads a vector from amemory segmentstarting at an offset into the memory segmentand using a mask.final voidByteVector.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, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.final voidByteVector.intoArray(byte[] a, int offset,VectorMask<Byte> m) Stores this vector into an array of typebyte[]starting at offset and using a mask.final voidByteVector.intoBooleanArray(boolean[] a, int offset, int[] indexMap, int mapOffset,VectorMask<Byte> m) Scatters this vector into an array of typeboolean[],under the control of a mask, andusing indexes obtained by adding a fixedoffsetto aseries of secondary offsets from anindex map.final voidByteVector.intoBooleanArray(boolean[] a, int offset,VectorMask<Byte> m) Stores this vector into an array of typeboolean[]starting at offset and using a mask.final voidByteVector.intoMemorySegment(MemorySegment ms, long offset,ByteOrder bo,VectorMask<Byte> m) Stores this vector into amemory segmentstarting at an offset using explicit byte order and a mask.finalByteVectorByteVector.lanewise(VectorOperators.Binary op, byte e,VectorMask<Byte> m) Combines the lane values of this vectorwith the value of a broadcast scalar,with selection of lane elements controlled by a mask.finalByteVectorByteVector.lanewise(VectorOperators.Binary op, long e,VectorMask<Byte> m) Combines the corresponding lane values of this vectorwith those of a second input vector,with selection of lane elements controlled by a mask.abstractByteVectorByteVector.lanewise(VectorOperators.Binary op,Vector<Byte> v) Combines the corresponding lane values of this vectorwith those of a second input vector.abstractByteVectorByteVector.lanewise(VectorOperators.Binary op,Vector<Byte> v,VectorMask<Byte> m) Combines the corresponding lane values of this vectorwith those of a second input vector,with selection of lane elements controlled by a mask.abstractByteVectorByteVector.lanewise(VectorOperators.Binary op,Vector<Byte> v,VectorMask<Byte> m) Combines the corresponding lane values of this vectorwith those of a second input vector,with selection of lane elements controlled by a mask.finalByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1, byte e2,VectorMask<Byte> m) Combines the lane values of this vectorwith the values of two broadcast scalars,with selection of lane elements controlled by a mask.finalByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1,Vector<Byte> v2) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar.finalByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1,Vector<Byte> v2,VectorMask<Byte> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.finalByteVectorByteVector.lanewise(VectorOperators.Ternary op, byte e1,Vector<Byte> v2,VectorMask<Byte> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.finalByteVectorByteVector.lanewise(VectorOperators.Ternary op,Vector<Byte> v1, byte e2) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar.finalByteVectorByteVector.lanewise(VectorOperators.Ternary op,Vector<Byte> v1, byte e2,VectorMask<Byte> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.finalByteVectorByteVector.lanewise(VectorOperators.Ternary op,Vector<Byte> v1, byte e2,VectorMask<Byte> m) Combines the lane values of this vectorwith the values of another vector and a broadcast scalar,with selection of lane elements controlled by a mask.abstractByteVectorCombines the corresponding lane values of this vectorwith the lanes of a second and a third input vector.abstractByteVectorByteVector.lanewise(VectorOperators.Ternary op,Vector<Byte> v1,Vector<Byte> v2,VectorMask<Byte> m) Combines the corresponding lane values of this vectorwith the lanes of a second and a third input vector,with selection of lane elements controlled by a mask.abstractByteVectorByteVector.lanewise(VectorOperators.Ternary op,Vector<Byte> v1,Vector<Byte> v2,VectorMask<Byte> m) Combines the corresponding lane values of this vectorwith the lanes of a second and a third input vector,with selection of lane elements controlled by a mask.abstractByteVectorByteVector.lanewise(VectorOperators.Unary op,VectorMask<Byte> m) Operates on the lane values of this vector,with selection of lane elements controlled by a mask.finalVectorMask<Byte> Tests if this vector is less than another input vector.finalByteVectorComputes the larger of this vector and a second input vector.finalByteVectorComputes the smaller of this vector and a second input vector.finalByteVectorByteVector.mul(byte e,VectorMask<Byte> m) Multiplies this vector by the broadcast of an input scalar,selecting lane elements controlled by a mask.finalByteVectorMultiplies this vector by a second input vector.finalByteVectorByteVector.mul(Vector<Byte> v,VectorMask<Byte> m) Multiplies this vector by a second input vectorunder the control of a mask.finalByteVectorByteVector.mul(Vector<Byte> v,VectorMask<Byte> m) Multiplies this vector by a second input vectorunder the control of a mask.finalByteVectorComputes the bitwise logical disjunction (|)of this vector and a second input vector.abstractByteVectorByteVector.rearrange(VectorShuffle<Byte> shuffle) Rearranges the lane elements of this vector, selecting lanesunder the control of a specific shuffle.abstractByteVectorByteVector.rearrange(VectorShuffle<Byte> s,Vector<Byte> v) Rearranges the lane elements of two vectors, selecting lanesunder the control of a specific shuffle, using both normal andexceptional indexes in the shuffle to steer data.abstractByteVectorByteVector.rearrange(VectorShuffle<Byte> s,Vector<Byte> v) Rearranges the lane elements of two vectors, selecting lanesunder the control of a specific shuffle, using both normal andexceptional indexes in the shuffle to steer data.abstractByteVectorByteVector.rearrange(VectorShuffle<Byte> s,VectorMask<Byte> m) Rearranges the lane elements of this vector, selecting lanesunder the control of a specific shuffle and a mask.abstractByteVectorByteVector.rearrange(VectorShuffle<Byte> s,VectorMask<Byte> m) Rearranges the lane elements of this vector, selecting lanesunder the control of a specific shuffle and a mask.abstract byteByteVector.reduceLanes(VectorOperators.Associative op,VectorMask<Byte> m) Returns a value accumulated from selected lanes of this vector,controlled by a mask.abstractByteVectorByteVector.selectFrom(Vector<Byte> v) Using index values stored in the lanes of this vector,assemble values stored in second vectorv.abstractByteVectorByteVector.selectFrom(Vector<Byte> v1,Vector<Byte> v2) Using values stored in the lanes of this vector,assemble values stored in the second vectorv1and third vectorv2.abstractByteVectorByteVector.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 controlof a mask.abstractByteVectorByteVector.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 controlof a mask.abstractByteVectorSlices a segment of adjacent lanes, starting at a givenoriginlane in the current vector, and continuing (asneeded) into an immediately following vector.finalByteVectorByteVector.slice(int origin,Vector<Byte> w,VectorMask<Byte> m) Slices a segment of adjacent lanesunder the control of a mask,starting at a givenoriginlane in the current vector, and continuing (asneeded) into an immediately following vector.finalByteVectorByteVector.slice(int origin,Vector<Byte> w,VectorMask<Byte> m) Slices a segment of adjacent lanesunder the control of a mask,starting at a givenoriginlane in the current vector, and continuing (asneeded) into an immediately following vector.finalByteVectorByteVector.sub(byte e,VectorMask<Byte> m) Subtracts an input scalar from this vectorunder the control of a mask.finalByteVectorSubtracts a second input vector from this vector.finalByteVectorByteVector.sub(Vector<Byte> v,VectorMask<Byte> m) Subtracts a second input vector from this vectorunder the control of a mask.finalByteVectorByteVector.sub(Vector<Byte> v,VectorMask<Byte> m) Subtracts a second input vector from this vectorunder the control of a mask.abstractVectorMask<Byte> ByteVector.test(VectorOperators.Test op,VectorMask<Byte> m) Test selected lanes of this vector,according to the given operation.abstractByteVectorReverses aslice(), insertingthe current vector as a slice within another "background" inputvector, which is regarded as one or the other input to ahypothetical subsequentslice()operation.abstractByteVectorByteVector.unslice(int origin,Vector<Byte> w, int part,VectorMask<Byte> m) Reverses aslice(), inserting(under the control of a mask)the current vector as a slice within another "background" inputvector, which is regarded as one or the other input to ahypothetical subsequentslice()operation.abstractByteVectorByteVector.unslice(int origin,Vector<Byte> w, int part,VectorMask<Byte> m) Reverses aslice(), inserting(under the control of a mask)the current vector as a slice within another "background" inputvector, which is regarded as one or the other input to ahypothetical subsequentslice()operation.staticByteVectorByteVector.zero(VectorSpecies<Byte> species) Returns a vector of the given specieswhere all lane elements are set tozero, the default primitive value.