< prev index next >

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java

Print this page
rev 56969 : Javadoc corrections

@@ -508,11 +508,11 @@
      *         the primitive value {@code e}
      * @throws IllegalArgumentException
      *         if the given {@code long} value cannot
      *         be represented by the vector's {@code ETYPE}
      * @see #broadcast(VectorSpecies,byte)
-     * @see VectorSpecies#checkValue(VectorSpecies,byte)
+     * @see VectorSpecies#checkValue(VectorSpecies,long)
      */
     public static ByteVector broadcast(VectorSpecies<Byte> species, long e) {
         ByteSpecies vsp = (ByteSpecies) species;
         return vsp.broadcast(e);
     }

@@ -1403,11 +1403,10 @@
     public final ByteVector div(byte e) {
         return lanewise(DIV, e);
     }
 
     /**
-    /**
      * {@inheritDoc} <!--workaround-->
      * @see #div(byte,VectorMask)
      */
     @Override
     @ForceInline

@@ -1683,11 +1682,11 @@
      * {@code lanewise}.
      *
      * @return the bitwise complement {@code ~} of this vector
      * @see #and(Vector)
      * @see VectorOperators#NOT
-     * @see #lanewise(VectorOperators.Unary,Vector,VectorMask)
+     * @see #lanewise(VectorOperators.Unary,VectorMask)
      */
     @ForceInline
     public final ByteVector not() {
         return lanewise(NOT);
     }

@@ -1823,11 +1822,11 @@
      * @return the mask result of testing lane-wise if this vector
      *         compares to the input, according to the selected
      *         comparison operator
      * @see ByteVector#compare(VectorOperators.Comparison,Vector)
      * @see #eq(byte)
-     * @see #lessThan(byte)
+     * @see #lt(byte)
      */
     public abstract
     VectorMask<Byte> compare(Comparison op, byte e);
 
     /*package-private*/

@@ -2679,11 +2678,12 @@
      * @param m the mask controlling lane selection
      * @return a vector loaded from a byte array
      * @throws IndexOutOfBoundsException
      *         if {@code offset+N*ESIZE < 0}
      *         or {@code offset+(N+1)*ESIZE > a.length}
-     *         for any lane {@code N} in the vector
+     *         for any lane {@code N} in the vector where
+     *         the mask is set
      */
     @ForceInline
     public static
     ByteVector fromByteArray(VectorSpecies<Byte> species,
                                        byte[] a, int offset,

@@ -2881,11 +2881,11 @@
      * @param bb the byte buffer
      * @param offset the offset into the byte buffer
      * @return a vector loaded from a byte buffer
      * @throws IndexOutOfBoundsException
      *         if {@code offset+N*1 < 0}
-     *         or {@code offset+N**1 >= bb.limit()}
+     *         or {@code offset+N*1 >= bb.limit()}
      *         for any lane {@code N} in the vector
      */
     @ForceInline
     public static
     ByteVector fromByteBuffer(VectorSpecies<Byte> species,

@@ -2919,11 +2919,11 @@
      * @param offset the offset into the byte buffer
      * @param m the mask controlling lane selection
      * @return a vector loaded from a byte buffer
      * @throws IndexOutOfBoundsException
      *         if {@code offset+N*1 < 0}
-     *         or {@code offset+N**1 >= bb.limit()}
+     *         or {@code offset+N*1 >= bb.limit()}
      *         for any lane {@code N} in the vector
      *         where the mask is set
      */
     @ForceInline
     public static
< prev index next >