mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-15 13:49:42 +02:00
8255022: Documentation missing for Vector API zero methods
This commit is contained in:
parent
60f63ec811
commit
83639200ab
7 changed files with 42 additions and 7 deletions
|
@ -423,7 +423,12 @@ public abstract class ByteVector extends AbstractVector<Byte> {
|
||||||
// comment <!--workaround--> for this.
|
// comment <!--workaround--> for this.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc} <!--workaround-->
|
* Returns a vector of the given species
|
||||||
|
* where all lane elements are set to
|
||||||
|
* the default primitive value.
|
||||||
|
*
|
||||||
|
* @param species species of the desired zero vector
|
||||||
|
* @return a zero vector
|
||||||
*/
|
*/
|
||||||
@ForceInline
|
@ForceInline
|
||||||
public static ByteVector zero(VectorSpecies<Byte> species) {
|
public static ByteVector zero(VectorSpecies<Byte> species) {
|
||||||
|
|
|
@ -423,7 +423,12 @@ public abstract class DoubleVector extends AbstractVector<Double> {
|
||||||
// comment <!--workaround--> for this.
|
// comment <!--workaround--> for this.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc} <!--workaround-->
|
* Returns a vector of the given species
|
||||||
|
* where all lane elements are set to
|
||||||
|
* the default primitive value.
|
||||||
|
*
|
||||||
|
* @param species species of the desired zero vector
|
||||||
|
* @return a zero vector
|
||||||
*/
|
*/
|
||||||
@ForceInline
|
@ForceInline
|
||||||
public static DoubleVector zero(VectorSpecies<Double> species) {
|
public static DoubleVector zero(VectorSpecies<Double> species) {
|
||||||
|
|
|
@ -423,7 +423,12 @@ public abstract class FloatVector extends AbstractVector<Float> {
|
||||||
// comment <!--workaround--> for this.
|
// comment <!--workaround--> for this.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc} <!--workaround-->
|
* Returns a vector of the given species
|
||||||
|
* where all lane elements are set to
|
||||||
|
* the default primitive value.
|
||||||
|
*
|
||||||
|
* @param species species of the desired zero vector
|
||||||
|
* @return a zero vector
|
||||||
*/
|
*/
|
||||||
@ForceInline
|
@ForceInline
|
||||||
public static FloatVector zero(VectorSpecies<Float> species) {
|
public static FloatVector zero(VectorSpecies<Float> species) {
|
||||||
|
|
|
@ -423,7 +423,12 @@ public abstract class IntVector extends AbstractVector<Integer> {
|
||||||
// comment <!--workaround--> for this.
|
// comment <!--workaround--> for this.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc} <!--workaround-->
|
* Returns a vector of the given species
|
||||||
|
* where all lane elements are set to
|
||||||
|
* the default primitive value.
|
||||||
|
*
|
||||||
|
* @param species species of the desired zero vector
|
||||||
|
* @return a zero vector
|
||||||
*/
|
*/
|
||||||
@ForceInline
|
@ForceInline
|
||||||
public static IntVector zero(VectorSpecies<Integer> species) {
|
public static IntVector zero(VectorSpecies<Integer> species) {
|
||||||
|
|
|
@ -423,7 +423,12 @@ public abstract class LongVector extends AbstractVector<Long> {
|
||||||
// comment <!--workaround--> for this.
|
// comment <!--workaround--> for this.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc} <!--workaround-->
|
* Returns a vector of the given species
|
||||||
|
* where all lane elements are set to
|
||||||
|
* the default primitive value.
|
||||||
|
*
|
||||||
|
* @param species species of the desired zero vector
|
||||||
|
* @return a zero vector
|
||||||
*/
|
*/
|
||||||
@ForceInline
|
@ForceInline
|
||||||
public static LongVector zero(VectorSpecies<Long> species) {
|
public static LongVector zero(VectorSpecies<Long> species) {
|
||||||
|
|
|
@ -423,7 +423,12 @@ public abstract class ShortVector extends AbstractVector<Short> {
|
||||||
// comment <!--workaround--> for this.
|
// comment <!--workaround--> for this.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc} <!--workaround-->
|
* Returns a vector of the given species
|
||||||
|
* where all lane elements are set to
|
||||||
|
* the default primitive value.
|
||||||
|
*
|
||||||
|
* @param species species of the desired zero vector
|
||||||
|
* @return a zero vector
|
||||||
*/
|
*/
|
||||||
@ForceInline
|
@ForceInline
|
||||||
public static ShortVector zero(VectorSpecies<Short> species) {
|
public static ShortVector zero(VectorSpecies<Short> species) {
|
||||||
|
|
|
@ -427,7 +427,12 @@ public abstract class $abstractvectortype$ extends AbstractVector<$Boxtype$> {
|
||||||
// comment <!--workaround--> for this.
|
// comment <!--workaround--> for this.
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc} <!--workaround-->
|
* Returns a vector of the given species
|
||||||
|
* where all lane elements are set to
|
||||||
|
* the default primitive value.
|
||||||
|
*
|
||||||
|
* @param species species of the desired zero vector
|
||||||
|
* @return a zero vector
|
||||||
*/
|
*/
|
||||||
@ForceInline
|
@ForceInline
|
||||||
public static $abstractvectortype$ zero(VectorSpecies<$Boxtype$> species) {
|
public static $abstractvectortype$ zero(VectorSpecies<$Boxtype$> species) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue