Tabnine Logo
String.indexOfSupplementary
Code IndexAdd Tabnine to your IDE (free)

How to use
indexOfSupplementary
method
in
java.lang.String

Best Java code snippets using java.lang.String.indexOfSupplementary (Showing top 14 results out of 315)

origin: robovm/robovm

/**
 * Searches in this string for the first index of the specified character.
 * The search for the character starts at the beginning and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c) {
  // TODO: just "return indexOf(c, 0);" when the JIT can inline that deep.
  if (c > 0xffff) {
    return indexOfSupplementary(c, 0);
  }
  return fastIndexOf(c, 0);
}
origin: robovm/robovm

/**
 * Searches in this string for the index of the specified character. The
 * search for the character starts at the specified offset and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @param start
 *            the starting offset.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c, int start) {
  if (c > 0xffff) {
    return indexOfSupplementary(c, start);
  }
  return fastIndexOf(c, start);
}
origin: MobiVM/robovm

/**
 * Searches in this string for the index of the specified character. The
 * search for the character starts at the specified offset and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @param start
 *            the starting offset.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c, int start) {
  if (c > 0xffff) {
    return indexOfSupplementary(c, start);
  }
  return fastIndexOf(c, start);
}
origin: MobiVM/robovm

/**
 * Searches in this string for the first index of the specified character.
 * The search for the character starts at the beginning and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c) {
  // TODO: just "return indexOf(c, 0);" when the JIT can inline that deep.
  if (c > 0xffff) {
    return indexOfSupplementary(c, 0);
  }
  return fastIndexOf(c, 0);
}
origin: com.gluonhq/robovm-rt

/**
 * Searches in this string for the first index of the specified character.
 * The search for the character starts at the beginning and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c) {
  // TODO: just "return indexOf(c, 0);" when the JIT can inline that deep.
  if (c > 0xffff) {
    return indexOfSupplementary(c, 0);
  }
  return fastIndexOf(c, 0);
}
origin: ibinti/bugvm

/**
 * Searches in this string for the first index of the specified character.
 * The search for the character starts at the beginning and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c) {
  // TODO: just "return indexOf(c, 0);" when the JIT can inline that deep.
  if (c > 0xffff) {
    return indexOfSupplementary(c, 0);
  }
  return fastIndexOf(c, 0);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Searches in this string for the first index of the specified character.
 * The search for the character starts at the beginning and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c) {
  // TODO: just "return indexOf(c, 0);" when the JIT can inline that deep.
  if (c > 0xffff) {
    return indexOfSupplementary(c, 0);
  }
  return fastIndexOf(c, 0);
}
origin: ibinti/bugvm

/**
 * Searches in this string for the index of the specified character. The
 * search for the character starts at the specified offset and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @param start
 *            the starting offset.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c, int start) {
  if (c > 0xffff) {
    return indexOfSupplementary(c, start);
  }
  return fastIndexOf(c, start);
}
origin: com.gluonhq/robovm-rt

/**
 * Searches in this string for the index of the specified character. The
 * search for the character starts at the specified offset and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @param start
 *            the starting offset.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c, int start) {
  if (c > 0xffff) {
    return indexOfSupplementary(c, start);
  }
  return fastIndexOf(c, start);
}
origin: com.bugvm/bugvm-rt

/**
 * Searches in this string for the first index of the specified character.
 * The search for the character starts at the beginning and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c) {
  // TODO: just "return indexOf(c, 0);" when the JIT can inline that deep.
  if (c > 0xffff) {
    return indexOfSupplementary(c, 0);
  }
  return fastIndexOf(c, 0);
}
origin: com.bugvm/bugvm-rt

/**
 * Searches in this string for the index of the specified character. The
 * search for the character starts at the specified offset and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @param start
 *            the starting offset.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c, int start) {
  if (c > 0xffff) {
    return indexOfSupplementary(c, start);
  }
  return fastIndexOf(c, start);
}
origin: FlexoVM/flexovm

/**
 * Searches in this string for the first index of the specified character.
 * The search for the character starts at the beginning and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c) {
  // TODO: just "return indexOf(c, 0);" when the JIT can inline that deep.
  if (c > 0xffff) {
    return indexOfSupplementary(c, 0);
  }
  return fastIndexOf(c, 0);
}
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Searches in this string for the index of the specified character. The
 * search for the character starts at the specified offset and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @param start
 *            the starting offset.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c, int start) {
  if (c > 0xffff) {
    return indexOfSupplementary(c, start);
  }
  return fastIndexOf(c, start);
}
origin: FlexoVM/flexovm

/**
 * Searches in this string for the index of the specified character. The
 * search for the character starts at the specified offset and moves towards
 * the end of this string.
 *
 * @param c
 *            the character to find.
 * @param start
 *            the starting offset.
 * @return the index in this string of the specified character, -1 if the
 *         character isn't found.
 */
public int indexOf(int c, int start) {
  if (c > 0xffff) {
    return indexOfSupplementary(c, start);
  }
  return fastIndexOf(c, start);
}
java.langStringindexOfSupplementary

Popular methods of String

  • equals
  • length
    Returns the number of characters in this string.
  • substring
    Returns a string containing a subsequence of characters from this string. The returned string shares
  • startsWith
    Compares the specified string to this string, starting at the specified offset, to determine if the
  • format
    Returns a formatted string, using the supplied format and arguments, localized to the given locale.
  • split
    Splits this string using the supplied regularExpression. See Pattern#split(CharSequence,int) for an
  • trim
  • valueOf
    Creates a new string containing the specified characters in the character array. Modifying the chara
  • indexOf
  • endsWith
    Compares the specified string to this string to determine if the specified string is a suffix.
  • toLowerCase
    Converts this string to lower case, using the rules of locale.Most case mappings are unaffected by t
  • contains
    Determines if this String contains the sequence of characters in the CharSequence passed.
  • toLowerCase,
  • contains,
  • getBytes,
  • <init>,
  • equalsIgnoreCase,
  • replace,
  • isEmpty,
  • charAt,
  • hashCode,
  • lastIndexOf

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • String (java.lang)
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now