Codota Logo
CollationElementIteratorICU.setOffset
Code IndexAdd Codota to your IDE (free)

How to use
setOffset
method
in
libcore.icu.CollationElementIteratorICU

Best Java code snippets using libcore.icu.CollationElementIteratorICU.setOffset (Showing top 7 results out of 315)

  • Common ways to obtain CollationElementIteratorICU
private void myMethod () {
CollationElementIteratorICU c =
  • Codota IconString source;CollationElementIteratorICU.getInstance(collatorAddress, source)
  • Codota Iconnew CollationElementIteratorICU(address)
  • Smart code suggestions by Codota
}
origin: robovm/robovm

/**
 * 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);
}
origin: FlexoVM/flexovm

/**
 * 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);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * 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);
}
origin: MobiVM/robovm

/**
 * 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);
}
origin: ibinti/bugvm

/**
 * 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);
}
origin: com.bugvm/bugvm-rt

/**
 * 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);
}
origin: com.gluonhq/robovm-rt

/**
 * 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);
}
libcore.icuCollationElementIteratorICUsetOffset

Javadoc

Set the offset of the current source character. This is an offset into the text of the character to be processed.

Popular methods of CollationElementIteratorICU

  • <init>
  • getInstance
  • getMaxExpansion
    Get the maximum length of any expansion sequences that end with the specified comparison order.
  • getOffset
    Get the offset of the current source character. This is an offset into the text of the character con
  • next
    Get the ordering priority of the next collation element in the text. A single character may contain
  • previous
    Get the ordering priority of the previous collation element in the text. A single character may cont
  • primaryOrder
    Gets the primary order of a collation order.
  • reset
    Reset the collation elements to their initial state. This will move the 'cursor' to the beginning of
  • secondaryOrder
    Gets the secondary order of a collation order.
  • setText
  • tertiaryOrder
    Gets the tertiary order of a collation order.
  • tertiaryOrder

Popular in Java

  • Reading from database using SQL prepared statement
  • startActivity (Activity)
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • JList (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now