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

How to use
fastIndexOf
method
in
java.lang.String

Best Java code snippets using java.lang.String.fastIndexOf (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.langStringfastIndexOf

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

  • Making http requests using okhttp
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getResourceAsStream (ClassLoader)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • From CI to AI: The AI layer in your organization
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