Tabnine Logo
AndRevFilter$List.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.jgit.revwalk.filter.AndRevFilter$List
constructor

Best Java code snippets using org.eclipse.jgit.revwalk.filter.AndRevFilter$List.<init> (Showing top 12 results out of 315)

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

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(Collection<RevFilter> list) {
  if (list.size() < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.size()];
  list.toArray(subfilters);
  if (subfilters.length == 2)
    return create(subfilters[0], subfilters[1]);
  return new List(subfilters);
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(RevFilter[] list) {
  if (list.length == 2)
    return create(list[0], list[1]);
  if (list.length < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.length];
  System.arraycopy(list, 0, subfilters, 0, list.length);
  return new List(subfilters);
}
origin: berlam/github-bucket

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(Collection<RevFilter> list) {
  if (list.size() < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.size()];
  list.toArray(subfilters);
  if (subfilters.length == 2)
    return create(subfilters[0], subfilters[1]);
  return new List(subfilters);
}
origin: berlam/github-bucket

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(RevFilter[] list) {
  if (list.length == 2)
    return create(list[0], list[1]);
  if (list.length < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.length];
  System.arraycopy(list, 0, subfilters, 0, list.length);
  return new List(subfilters);
}
origin: theonedev/onedev

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(Collection<RevFilter> list) {
  if (list.size() < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.size()];
  list.toArray(subfilters);
  if (subfilters.length == 2)
    return create(subfilters[0], subfilters[1]);
  return new List(subfilters);
}
origin: sonia.jgit/org.eclipse.jgit

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(final Collection<RevFilter> list) {
  if (list.size() < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.size()];
  list.toArray(subfilters);
  if (subfilters.length == 2)
    return create(subfilters[0], subfilters[1]);
  return new List(subfilters);
}
origin: sonia.jgit/org.eclipse.jgit

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(final RevFilter[] list) {
  if (list.length == 2)
    return create(list[0], list[1]);
  if (list.length < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.length];
  System.arraycopy(list, 0, subfilters, 0, list.length);
  return new List(subfilters);
}
origin: theonedev/onedev

/**
 * Create a filter around many filters, all of which must match.
 *
 * @param list
 *            list of filters to match against. Must contain at least 2
 *            filters.
 * @return a filter that must match all input filters.
 */
public static RevFilter create(RevFilter[] list) {
  if (list.length == 2)
    return create(list[0], list[1]);
  if (list.length < 2)
    throw new IllegalArgumentException(JGitText.get().atLeastTwoFiltersNeeded);
  final RevFilter[] subfilters = new RevFilter[list.length];
  System.arraycopy(list, 0, subfilters, 0, list.length);
  return new List(subfilters);
}
origin: berlam/github-bucket

@Override
public RevFilter clone() {
  final RevFilter[] s = new RevFilter[subfilters.length];
  for (int i = 0; i < s.length; i++)
    s[i] = subfilters[i].clone();
  return new List(s);
}
origin: theonedev/onedev

@Override
public RevFilter clone() {
  final RevFilter[] s = new RevFilter[subfilters.length];
  for (int i = 0; i < s.length; i++)
    s[i] = subfilters[i].clone();
  return new List(s);
}
origin: sonia.jgit/org.eclipse.jgit

@Override
public RevFilter clone() {
  final RevFilter[] s = new RevFilter[subfilters.length];
  for (int i = 0; i < s.length; i++)
    s[i] = subfilters[i].clone();
  return new List(s);
}
origin: org.eclipse.jgit/org.eclipse.jgit

@Override
public RevFilter clone() {
  final RevFilter[] s = new RevFilter[subfilters.length];
  for (int i = 0; i < s.length; i++)
    s[i] = subfilters[i].clone();
  return new List(s);
}
org.eclipse.jgit.revwalk.filterAndRevFilter$List<init>

Popular methods of AndRevFilter$List

    Popular in Java

    • Finding current android device location
    • getSupportFragmentManager (FragmentActivity)
    • notifyDataSetChanged (ArrayAdapter)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • URL (java.net)
      A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
    • Path (java.nio.file)
    • Arrays (java.util)
      This class contains various methods for manipulating arrays (such as sorting and searching). This cl
    • JButton (javax.swing)
    • Options (org.apache.commons.cli)
      Main entry-point into the library. Options represents a collection of Option objects, which describ
    • DateTimeFormat (org.joda.time.format)
      Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
    • 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