< prev index next >
src/jdk.incubator.vector/share/classes/jdk/incubator/vector/IntVector.java
Print this page
rev 56969 : Javadoc corrections
@@ -509,11 +509,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,int)
- * @see VectorSpecies#checkValue(VectorSpecies,int)
+ * @see VectorSpecies#checkValue(VectorSpecies,long)
*/
public static IntVector broadcast(VectorSpecies<Integer> species, long e) {
IntSpecies vsp = (IntSpecies) species;
return vsp.broadcast(e);
}
@@ -1403,11 +1403,10 @@
public final IntVector div(int e) {
return lanewise(DIV, e);
}
/**
- /**
* {@inheritDoc} <!--workaround-->
* @see #div(int,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 IntVector 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 IntVector#compare(VectorOperators.Comparison,Vector)
* @see #eq(int)
- * @see #lessThan(int)
+ * @see #lt(int)
*/
public abstract
VectorMask<Integer> compare(Comparison op, int 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
IntVector fromByteArray(VectorSpecies<Integer> species,
byte[] a, int offset,
@@ -2912,11 +2912,11 @@
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
- * or {@code offset+N**4 >= bb.limit()}
+ * or {@code offset+N*4 >= bb.limit()}
* for any lane {@code N} in the vector
*/
@ForceInline
public static
IntVector fromByteBuffer(VectorSpecies<Integer> species,
@@ -2958,11 +2958,11 @@
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
- * or {@code offset+N**4 >= bb.limit()}
+ * or {@code offset+N*4 >= bb.limit()}
* for any lane {@code N} in the vector
* where the mask is set
*/
@ForceInline
public static
< prev index next >