< prev index next >

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

Print this page

        

*** 557,566 **** --- 557,567 ---- * {@code (N + i) % length()}. * * @param i the number of lanes to rotate left * @return the result of rotating left lane elements of this vector by the * given number of lanes + * @throws IllegalArgumentException if {@code i} is {@code < 0}. */ public abstract Vector<E> rotateLanesLeft(int i); /** * Rotates right the lane elements of this vector by the given number of
*** 573,582 **** --- 574,584 ---- * {@code (N + length() - (i % length())) % length()} * * @param i the number of lanes to rotate right * @return the result of rotating right lane elements of this vector by the * given number of lanes + * @throws IllegalArgumentException if {@code i} is {@code < 0}. */ public abstract Vector<E> rotateLanesRight(int i); /** * Shift left the lane elements of this vector by the given number of
*** 1084,1094 **** return VectorShuffle.shuffleIota(this.species()); } /** * Returns a shuffle of same species as {@code this} vector and with lane elements set to sequential {@code int} ! * values starting from {@code start}. * <p> * This method behaves as if it returns the result of calling the static {@link VectorShuffle#shuffleIota(VectorSpecies, int) shuffleIota()} * method in VectorShuffle as follows: * <pre> {@code * return VectorShuffle.shuffleIota(this.species(), start); --- 1086,1096 ---- return VectorShuffle.shuffleIota(this.species()); } /** * Returns a shuffle of same species as {@code this} vector and with lane elements set to sequential {@code int} ! * values starting from {@code start} and looping around species length. * <p> * This method behaves as if it returns the result of calling the static {@link VectorShuffle#shuffleIota(VectorSpecies, int) shuffleIota()} * method in VectorShuffle as follows: * <pre> {@code * return VectorShuffle.shuffleIota(this.species(), start);
< prev index next >