< prev index next >
src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorShuffle.java
Print this page
*** 198,208 ****
* @param species shuffle species
* @param ixs the {@code int} array
* @param offset the offset into the array
* @return a shuffle loaded from the {@code int} array
* @throws IndexOutOfBoundsException if {@code offset < 0}, or
! * {@code offset > a.length - species.length()}
*/
@ForceInline
public static <E> VectorShuffle<E> fromArray(VectorSpecies<E> species, int[] ixs, int offset) {
return ((AbstractSpecies<E>) species).shuffleFromArrayFactory.apply(ixs, offset);
}
--- 198,208 ----
* @param species shuffle species
* @param ixs the {@code int} array
* @param offset the offset into the array
* @return a shuffle loaded from the {@code int} array
* @throws IndexOutOfBoundsException if {@code offset < 0}, or
! * {@code offset > ixs.length - species.length()}
*/
@ForceInline
public static <E> VectorShuffle<E> fromArray(VectorSpecies<E> species, int[] ixs, int offset) {
return ((AbstractSpecies<E>) species).shuffleFromArrayFactory.apply(ixs, offset);
}
< prev index next >