Codota Logo
RawSubStringPattern.lc
Code IndexAdd Codota 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)

  • Common ways to obtain RawSubStringPattern
private void myMethod () {
RawSubStringPattern r =
  • Codota IconString patternText;new RawSubStringPattern(patternText)
  • Smart code suggestions by Codota
}
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

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • String (java.lang)
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
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