congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
RawSubStringPattern.lc
Code IndexAdd Tabnine to your IDE (free)

How to use
lc
method
in
org.eclipse.jgit.util.RawSubStringPattern

Best Java code snippets using org.eclipse.jgit.util.RawSubStringPattern.lc (Showing top 6 results out of 315)

origin: org.eclipse.jgit/org.eclipse.jgit

private static final boolean neq(byte a, byte b) {
  return a != b && a != lc(b);
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Construct a new substring pattern.
 *
 * @param patternText
 *            text to locate. This should be a literal string, as no
 *            meta-characters are supported by this implementation. The
 *            string may not be the empty string.
 */
public RawSubStringPattern(String patternText) {
  if (patternText.length() == 0)
    throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);
  needleString = patternText;
  final byte[] b = Constants.encode(patternText);
  needle = new byte[b.length];
  for (int i = 0; i < b.length; i++)
    needle[i] = lc(b[i]);
}
origin: sonia.jgit/org.eclipse.jgit

private static final boolean neq(final byte a, final byte b) {
  return a != b && a != lc(b);
}
origin: berlam/github-bucket

private static final boolean neq(byte a, byte b) {
  return a != b && a != lc(b);
}
origin: sonia.jgit/org.eclipse.jgit

/**
 * Construct a new substring pattern.
 *
 * @param patternText
 *            text to locate. This should be a literal string, as no
 *            meta-characters are supported by this implementation. The
 *            string may not be the empty string.
 */
public RawSubStringPattern(final String patternText) {
  if (patternText.length() == 0)
    throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);
  needleString = patternText;
  final byte[] b = Constants.encode(patternText);
  needle = new byte[b.length];
  for (int i = 0; i < b.length; i++)
    needle[i] = lc(b[i]);
}
origin: berlam/github-bucket

/**
 * Construct a new substring pattern.
 *
 * @param patternText
 *            text to locate. This should be a literal string, as no
 *            meta-characters are supported by this implementation. The
 *            string may not be the empty string.
 */
public RawSubStringPattern(String patternText) {
  if (patternText.length() == 0)
    throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);
  needleString = patternText;
  final byte[] b = Constants.encode(patternText);
  needle = new byte[b.length];
  for (int i = 0; i < b.length; i++)
    needle[i] = lc(b[i]);
}
org.eclipse.jgit.utilRawSubStringPatternlc

Popular methods of RawSubStringPattern

  • <init>
    Construct a new substring pattern.
  • match
    Match a character sequence against this pattern.
  • pattern
    Get the literal pattern string this instance searches for.
  • neq

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top 12 Jupyter Notebook extensions
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