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

How to use
getOffset
method
in
libcore.icu.CollationElementIteratorICU

Best Java code snippets using libcore.icu.CollationElementIteratorICU.getOffset (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

/**
 * Obtains the character offset in the source string corresponding to the
 * next collation element. This value could be any of:
 * <ul>
 * <li>The index of the first character in the source string that matches
 * the value of the next collation element. This means that if
 * {@code setOffset(offset)} sets the index in the middle of a contraction,
 * {@code getOffset()} returns the index of the first character in the
 * contraction, which may not be equal to the original offset that was set.
 * Hence calling {@code getOffset()} immediately after
 * {@code setOffset(offset)} does not guarantee that the original offset set
 * will be returned.</li>
 * <li>If normalization is on, the index of the immediate subsequent
 * character, or composite character with the first character, having a
 * combining class of 0.</li>
 * <li>The length of the source string, if iteration has reached the end.
 * </li>
 * </ul>
 *
 * @return The position of the collation element in the source string that
 *         will be returned by the next invocation of the {@link #next()}
 *         method.
 */
public int getOffset() {
  return this.icuIterator.getOffset();
}
origin: ibinti/bugvm

/**
 * Obtains the character offset in the source string corresponding to the
 * next collation element. This value could be any of:
 * <ul>
 * <li>The index of the first character in the source string that matches
 * the value of the next collation element. This means that if
 * {@code setOffset(offset)} sets the index in the middle of a contraction,
 * {@code getOffset()} returns the index of the first character in the
 * contraction, which may not be equal to the original offset that was set.
 * Hence calling {@code getOffset()} immediately after
 * {@code setOffset(offset)} does not guarantee that the original offset set
 * will be returned.</li>
 * <li>If normalization is on, the index of the immediate subsequent
 * character, or composite character with the first character, having a
 * combining class of 0.</li>
 * <li>The length of the source string, if iteration has reached the end.
 * </li>
 * </ul>
 *
 * @return The position of the collation element in the source string that
 *         will be returned by the next invocation of the {@link #next()}
 *         method.
 */
public int getOffset() {
  return this.icuIterator.getOffset();
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Obtains the character offset in the source string corresponding to the
 * next collation element. This value could be any of:
 * <ul>
 * <li>The index of the first character in the source string that matches
 * the value of the next collation element. This means that if
 * {@code setOffset(offset)} sets the index in the middle of a contraction,
 * {@code getOffset()} returns the index of the first character in the
 * contraction, which may not be equal to the original offset that was set.
 * Hence calling {@code getOffset()} immediately after
 * {@code setOffset(offset)} does not guarantee that the original offset set
 * will be returned.</li>
 * <li>If normalization is on, the index of the immediate subsequent
 * character, or composite character with the first character, having a
 * combining class of 0.</li>
 * <li>The length of the source string, if iteration has reached the end.
 * </li>
 * </ul>
 *
 * @return The position of the collation element in the source string that
 *         will be returned by the next invocation of the {@link #next()}
 *         method.
 */
public int getOffset() {
  return this.icuIterator.getOffset();
}
origin: com.bugvm/bugvm-rt

/**
 * Obtains the character offset in the source string corresponding to the
 * next collation element. This value could be any of:
 * <ul>
 * <li>The index of the first character in the source string that matches
 * the value of the next collation element. This means that if
 * {@code setOffset(offset)} sets the index in the middle of a contraction,
 * {@code getOffset()} returns the index of the first character in the
 * contraction, which may not be equal to the original offset that was set.
 * Hence calling {@code getOffset()} immediately after
 * {@code setOffset(offset)} does not guarantee that the original offset set
 * will be returned.</li>
 * <li>If normalization is on, the index of the immediate subsequent
 * character, or composite character with the first character, having a
 * combining class of 0.</li>
 * <li>The length of the source string, if iteration has reached the end.
 * </li>
 * </ul>
 *
 * @return The position of the collation element in the source string that
 *         will be returned by the next invocation of the {@link #next()}
 *         method.
 */
public int getOffset() {
  return this.icuIterator.getOffset();
}
origin: MobiVM/robovm

/**
 * Obtains the character offset in the source string corresponding to the
 * next collation element. This value could be any of:
 * <ul>
 * <li>The index of the first character in the source string that matches
 * the value of the next collation element. This means that if
 * {@code setOffset(offset)} sets the index in the middle of a contraction,
 * {@code getOffset()} returns the index of the first character in the
 * contraction, which may not be equal to the original offset that was set.
 * Hence calling {@code getOffset()} immediately after
 * {@code setOffset(offset)} does not guarantee that the original offset set
 * will be returned.</li>
 * <li>If normalization is on, the index of the immediate subsequent
 * character, or composite character with the first character, having a
 * combining class of 0.</li>
 * <li>The length of the source string, if iteration has reached the end.
 * </li>
 * </ul>
 *
 * @return The position of the collation element in the source string that
 *         will be returned by the next invocation of the {@link #next()}
 *         method.
 */
public int getOffset() {
  return this.icuIterator.getOffset();
}
origin: FlexoVM/flexovm

/**
 * Obtains the character offset in the source string corresponding to the
 * next collation element. This value could be any of:
 * <ul>
 * <li>The index of the first character in the source string that matches
 * the value of the next collation element. This means that if
 * {@code setOffset(offset)} sets the index in the middle of a contraction,
 * {@code getOffset()} returns the index of the first character in the
 * contraction, which may not be equal to the original offset that was set.
 * Hence calling {@code getOffset()} immediately after
 * {@code setOffset(offset)} does not guarantee that the original offset set
 * will be returned.</li>
 * <li>If normalization is on, the index of the immediate subsequent
 * character, or composite character with the first character, having a
 * combining class of 0.</li>
 * <li>The length of the source string, if iteration has reached the end.
 * </li>
 * </ul>
 *
 * @return The position of the collation element in the source string that
 *         will be returned by the next invocation of the {@link #next()}
 *         method.
 */
public int getOffset() {
  return this.icuIterator.getOffset();
}
origin: com.gluonhq/robovm-rt

/**
 * Obtains the character offset in the source string corresponding to the
 * next collation element. This value could be any of:
 * <ul>
 * <li>The index of the first character in the source string that matches
 * the value of the next collation element. This means that if
 * {@code setOffset(offset)} sets the index in the middle of a contraction,
 * {@code getOffset()} returns the index of the first character in the
 * contraction, which may not be equal to the original offset that was set.
 * Hence calling {@code getOffset()} immediately after
 * {@code setOffset(offset)} does not guarantee that the original offset set
 * will be returned.</li>
 * <li>If normalization is on, the index of the immediate subsequent
 * character, or composite character with the first character, having a
 * combining class of 0.</li>
 * <li>The length of the source string, if iteration has reached the end.
 * </li>
 * </ul>
 *
 * @return The position of the collation element in the source string that
 *         will be returned by the next invocation of the {@link #next()}
 *         method.
 */
public int getOffset() {
  return this.icuIterator.getOffset();
}
libcore.icuCollationElementIteratorICUgetOffset

Javadoc

Get the offset of the current source character. This is an offset into the text of the character containing the current collation elements.

Popular methods of CollationElementIteratorICU

  • <init>
  • getInstance
  • getMaxExpansion
    Get the maximum length of any expansion sequences that end with the specified comparison order.
  • 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.
  • setOffset
    Set the offset of the current source character. This is an offset into the text of the character to
  • setText
  • tertiaryOrder
    Gets the tertiary order of a collation order.
  • tertiaryOrder

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • JButton (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
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