/** * Points the iterator at the collation element associated with the * character in the source string which is found at the supplied offset. * After this call completes, an invocation of the {@link #next()} method * will return this collation element. * <p> * If {@code newOffset} corresponds to a character which is part of a * sequence that maps to a single collation element then the iterator is * adjusted to the start of that sequence. As a result of this, any * subsequent call made to {@code getOffset()} may not return the same value * set by this method. * <p> * If the decomposition mode is on, and offset is in the middle of a * decomposable range of source text, the iterator may not return a correct * result for the next forwards or backwards iteration. The user must ensure * that the offset is not in the middle of a decomposable range. * * @param newOffset * the character offset into the original source string to set. * Note that this is not an offset into the corresponding * sequence of collation elements. */ public void setOffset(int newOffset) { this.icuIterator.setOffset(newOffset); }
/** * Points the iterator at the collation element associated with the * character in the source string which is found at the supplied offset. * After this call completes, an invocation of the {@link #next()} method * will return this collation element. * <p> * If {@code newOffset} corresponds to a character which is part of a * sequence that maps to a single collation element then the iterator is * adjusted to the start of that sequence. As a result of this, any * subsequent call made to {@code getOffset()} may not return the same value * set by this method. * <p> * If the decomposition mode is on, and offset is in the middle of a * decomposable range of source text, the iterator may not return a correct * result for the next forwards or backwards iteration. The user must ensure * that the offset is not in the middle of a decomposable range. * * @param newOffset * the character offset into the original source string to set. * Note that this is not an offset into the corresponding * sequence of collation elements. */ public void setOffset(int newOffset) { this.icuIterator.setOffset(newOffset); }
/** * Points the iterator at the collation element associated with the * character in the source string which is found at the supplied offset. * After this call completes, an invocation of the {@link #next()} method * will return this collation element. * <p> * If {@code newOffset} corresponds to a character which is part of a * sequence that maps to a single collation element then the iterator is * adjusted to the start of that sequence. As a result of this, any * subsequent call made to {@code getOffset()} may not return the same value * set by this method. * <p> * If the decomposition mode is on, and offset is in the middle of a * decomposable range of source text, the iterator may not return a correct * result for the next forwards or backwards iteration. The user must ensure * that the offset is not in the middle of a decomposable range. * * @param newOffset * the character offset into the original source string to set. * Note that this is not an offset into the corresponding * sequence of collation elements. */ public void setOffset(int newOffset) { this.icuIterator.setOffset(newOffset); }
/** * Points the iterator at the collation element associated with the * character in the source string which is found at the supplied offset. * After this call completes, an invocation of the {@link #next()} method * will return this collation element. * <p> * If {@code newOffset} corresponds to a character which is part of a * sequence that maps to a single collation element then the iterator is * adjusted to the start of that sequence. As a result of this, any * subsequent call made to {@code getOffset()} may not return the same value * set by this method. * <p> * If the decomposition mode is on, and offset is in the middle of a * decomposable range of source text, the iterator may not return a correct * result for the next forwards or backwards iteration. The user must ensure * that the offset is not in the middle of a decomposable range. * * @param newOffset * the character offset into the original source string to set. * Note that this is not an offset into the corresponding * sequence of collation elements. */ public void setOffset(int newOffset) { this.icuIterator.setOffset(newOffset); }
/** * Points the iterator at the collation element associated with the * character in the source string which is found at the supplied offset. * After this call completes, an invocation of the {@link #next()} method * will return this collation element. * <p> * If {@code newOffset} corresponds to a character which is part of a * sequence that maps to a single collation element then the iterator is * adjusted to the start of that sequence. As a result of this, any * subsequent call made to {@code getOffset()} may not return the same value * set by this method. * <p> * If the decomposition mode is on, and offset is in the middle of a * decomposable range of source text, the iterator may not return a correct * result for the next forwards or backwards iteration. The user must ensure * that the offset is not in the middle of a decomposable range. * * @param newOffset * the character offset into the original source string to set. * Note that this is not an offset into the corresponding * sequence of collation elements. */ public void setOffset(int newOffset) { this.icuIterator.setOffset(newOffset); }
/** * Points the iterator at the collation element associated with the * character in the source string which is found at the supplied offset. * After this call completes, an invocation of the {@link #next()} method * will return this collation element. * <p> * If {@code newOffset} corresponds to a character which is part of a * sequence that maps to a single collation element then the iterator is * adjusted to the start of that sequence. As a result of this, any * subsequent call made to {@code getOffset()} may not return the same value * set by this method. * <p> * If the decomposition mode is on, and offset is in the middle of a * decomposable range of source text, the iterator may not return a correct * result for the next forwards or backwards iteration. The user must ensure * that the offset is not in the middle of a decomposable range. * * @param newOffset * the character offset into the original source string to set. * Note that this is not an offset into the corresponding * sequence of collation elements. */ public void setOffset(int newOffset) { this.icuIterator.setOffset(newOffset); }
/** * Points the iterator at the collation element associated with the * character in the source string which is found at the supplied offset. * After this call completes, an invocation of the {@link #next()} method * will return this collation element. * <p> * If {@code newOffset} corresponds to a character which is part of a * sequence that maps to a single collation element then the iterator is * adjusted to the start of that sequence. As a result of this, any * subsequent call made to {@code getOffset()} may not return the same value * set by this method. * <p> * If the decomposition mode is on, and offset is in the middle of a * decomposable range of source text, the iterator may not return a correct * result for the next forwards or backwards iteration. The user must ensure * that the offset is not in the middle of a decomposable range. * * @param newOffset * the character offset into the original source string to set. * Note that this is not an offset into the corresponding * sequence of collation elements. */ public void setOffset(int newOffset) { this.icuIterator.setOffset(newOffset); }