mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-21 15:55:15 +00:00
8255022: Documentation missing for Vector API zero methods
Reviewed-by: vlivanov, darcy
This commit is contained in:
parent
9ade94b727
commit
60d3fa2ed8
@ -423,7 +423,12 @@ public abstract class ByteVector extends AbstractVector<Byte> {
|
||||
// comment <!--workaround--> for this.
|
||||
|
||||
/**
|
||||
* {@inheritDoc} <!--workaround-->
|
||||
* Returns a vector of the given species
|
||||
* where all lane elements are set to
|
||||
* zero, the default primitive value.
|
||||
*
|
||||
* @param species species of the desired zero vector
|
||||
* @return a zero vector
|
||||
*/
|
||||
@ForceInline
|
||||
public static ByteVector zero(VectorSpecies<Byte> species) {
|
||||
|
||||
@ -423,7 +423,12 @@ public abstract class DoubleVector extends AbstractVector<Double> {
|
||||
// comment <!--workaround--> for this.
|
||||
|
||||
/**
|
||||
* {@inheritDoc} <!--workaround-->
|
||||
* Returns a vector of the given species
|
||||
* where all lane elements are set to
|
||||
* zero, the default primitive value.
|
||||
*
|
||||
* @param species species of the desired zero vector
|
||||
* @return a zero vector
|
||||
*/
|
||||
@ForceInline
|
||||
public static DoubleVector zero(VectorSpecies<Double> species) {
|
||||
|
||||
@ -423,7 +423,12 @@ public abstract class FloatVector extends AbstractVector<Float> {
|
||||
// comment <!--workaround--> for this.
|
||||
|
||||
/**
|
||||
* {@inheritDoc} <!--workaround-->
|
||||
* Returns a vector of the given species
|
||||
* where all lane elements are set to
|
||||
* zero, the default primitive value.
|
||||
*
|
||||
* @param species species of the desired zero vector
|
||||
* @return a zero vector
|
||||
*/
|
||||
@ForceInline
|
||||
public static FloatVector zero(VectorSpecies<Float> species) {
|
||||
|
||||
@ -423,7 +423,12 @@ public abstract class IntVector extends AbstractVector<Integer> {
|
||||
// comment <!--workaround--> for this.
|
||||
|
||||
/**
|
||||
* {@inheritDoc} <!--workaround-->
|
||||
* Returns a vector of the given species
|
||||
* where all lane elements are set to
|
||||
* zero, the default primitive value.
|
||||
*
|
||||
* @param species species of the desired zero vector
|
||||
* @return a zero vector
|
||||
*/
|
||||
@ForceInline
|
||||
public static IntVector zero(VectorSpecies<Integer> species) {
|
||||
|
||||
@ -423,7 +423,12 @@ public abstract class LongVector extends AbstractVector<Long> {
|
||||
// comment <!--workaround--> for this.
|
||||
|
||||
/**
|
||||
* {@inheritDoc} <!--workaround-->
|
||||
* Returns a vector of the given species
|
||||
* where all lane elements are set to
|
||||
* zero, the default primitive value.
|
||||
*
|
||||
* @param species species of the desired zero vector
|
||||
* @return a zero vector
|
||||
*/
|
||||
@ForceInline
|
||||
public static LongVector zero(VectorSpecies<Long> species) {
|
||||
|
||||
@ -423,7 +423,12 @@ public abstract class ShortVector extends AbstractVector<Short> {
|
||||
// comment <!--workaround--> for this.
|
||||
|
||||
/**
|
||||
* {@inheritDoc} <!--workaround-->
|
||||
* Returns a vector of the given species
|
||||
* where all lane elements are set to
|
||||
* zero, the default primitive value.
|
||||
*
|
||||
* @param species species of the desired zero vector
|
||||
* @return a zero vector
|
||||
*/
|
||||
@ForceInline
|
||||
public static ShortVector zero(VectorSpecies<Short> species) {
|
||||
|
||||
@ -427,7 +427,12 @@ public abstract class $abstractvectortype$ extends AbstractVector<$Boxtype$> {
|
||||
// comment <!--workaround--> for this.
|
||||
|
||||
/**
|
||||
* {@inheritDoc} <!--workaround-->
|
||||
* Returns a vector of the given species
|
||||
* where all lane elements are set to
|
||||
* zero, the default primitive value.
|
||||
*
|
||||
* @param species species of the desired zero vector
|
||||
* @return a zero vector
|
||||
*/
|
||||
@ForceInline
|
||||
public static $abstractvectortype$ zero(VectorSpecies<$Boxtype$> species) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user