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

How to use
ObjectFilter
in
org.eclipse.jgit.revwalk.filter

Best Java code snippets using org.eclipse.jgit.revwalk.filter.ObjectFilter (Showing top 8 results out of 315)

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

/** {@inheritDoc} */
@Override
public RevCommit next() throws MissingObjectException,
    IncorrectObjectTypeException, IOException {
  for (;;) {
    final RevCommit r = super.next();
    if (r == null) {
      return null;
    }
    final RevTree t = r.getTree();
    if ((r.flags & UNINTERESTING) != 0) {
      if (objectFilter.include(this, t)) {
        markTreeUninteresting(t);
      }
      if (boundary) {
        return r;
      }
      continue;
    }
    if (objectFilter.include(this, t)) {
      pendingObjects.add(t);
    }
    return r;
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

ptr += ID_SZ;
if (!objectFilter.include(this, idBuffer)) {
  continue;
origin: sonia.jgit/org.eclipse.jgit

@Override
public RevCommit next() throws MissingObjectException,
    IncorrectObjectTypeException, IOException {
  for (;;) {
    final RevCommit r = super.next();
    if (r == null) {
      return null;
    }
    final RevTree t = r.getTree();
    if ((r.flags & UNINTERESTING) != 0) {
      if (objectFilter.include(this, t)) {
        markTreeUninteresting(t);
      }
      if (boundary) {
        return r;
      }
      continue;
    }
    if (objectFilter.include(this, t)) {
      pendingObjects.add(t);
    }
    return r;
  }
}
origin: theonedev/onedev

/** {@inheritDoc} */
@Override
public RevCommit next() throws MissingObjectException,
    IncorrectObjectTypeException, IOException {
  for (;;) {
    final RevCommit r = super.next();
    if (r == null) {
      return null;
    }
    final RevTree t = r.getTree();
    if ((r.flags & UNINTERESTING) != 0) {
      if (objectFilter.include(this, t)) {
        markTreeUninteresting(t);
      }
      if (boundary) {
        return r;
      }
      continue;
    }
    if (objectFilter.include(this, t)) {
      pendingObjects.add(t);
    }
    return r;
  }
}
origin: berlam/github-bucket

/** {@inheritDoc} */
@Override
public RevCommit next() throws MissingObjectException,
    IncorrectObjectTypeException, IOException {
  for (;;) {
    final RevCommit r = super.next();
    if (r == null) {
      return null;
    }
    final RevTree t = r.getTree();
    if ((r.flags & UNINTERESTING) != 0) {
      if (objectFilter.include(this, t)) {
        markTreeUninteresting(t);
      }
      if (boundary) {
        return r;
      }
      continue;
    }
    if (objectFilter.include(this, t)) {
      pendingObjects.add(t);
    }
    return r;
  }
}
origin: theonedev/onedev

ptr += ID_SZ;
if (!objectFilter.include(this, idBuffer)) {
  continue;
origin: sonia.jgit/org.eclipse.jgit

ptr += ID_SZ;
if (!objectFilter.include(this, idBuffer)) {
  continue;
origin: berlam/github-bucket

ptr += ID_SZ;
if (!objectFilter.include(this, idBuffer)) {
  continue;
org.eclipse.jgit.revwalk.filterObjectFilter

Javadoc

Selects interesting objects when walking.

Applications should install the filter on an ObjectWalk by org.eclipse.jgit.revwalk.ObjectWalk#setObjectFilter(ObjectFilter)prior to starting traversal.

Most used methods

  • include
    Determine if the named object should be included in the walk.

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • getSharedPreferences (Context)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Permission (java.security)
    Legacy security code; do not use.
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Github Copilot alternatives
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