Tabnine Logo
DirCacheTree.getChildCount
Code IndexAdd Tabnine to your IDE (free)

How to use
getChildCount
method
in
org.eclipse.jgit.dircache.DirCacheTree

Best Java code snippets using org.eclipse.jgit.dircache.DirCacheTree.getChildCount (Showing top 5 results out of 315)

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

if (nextSubtreePos != tree.getChildCount()) {
  final DirCacheTree s = tree.getChild(nextSubtreePos);
  if (s.contains(cep, pathOffset, cep.length)) {
origin: com.madgag/org.eclipse.jgit.pgm

  private void show(final DirCacheTree tree) throws IOException {
    outw.println(MessageFormat.format(CLIText.get().cacheTreePathInfo,
        tree.getPathString(), valueOf(tree.getEntrySpan()),
        valueOf(tree.getChildCount())));

    for (int i = 0; i < tree.getChildCount(); i++)
      show(tree.getChild(i));
  }
}
origin: com.madgag/org.eclipse.jgit.pgm

  private void show(final DirCacheTree tree) throws IOException {
    outw.println(MessageFormat.format(CLIText.get().cacheTreePathInfo,
        tree.getPathString(), valueOf(tree.getEntrySpan()),
        valueOf(tree.getChildCount())));

    for (int i = 0; i < tree.getChildCount(); i++)
      show(tree.getChild(i));
  }
}
origin: sonia.jgit/org.eclipse.jgit

if (nextSubtreePos != tree.getChildCount()) {
  final DirCacheTree s = tree.getChild(nextSubtreePos);
  if (s.contains(cep, pathOffset, cep.length)) {
origin: berlam/github-bucket

if (nextSubtreePos != tree.getChildCount()) {
  final DirCacheTree s = tree.getChild(nextSubtreePos);
  if (s.contains(cep, pathOffset, cep.length)) {
org.eclipse.jgit.dircacheDirCacheTreegetChildCount

Javadoc

Get the number of cached subtrees contained within this tree.

Popular methods of DirCacheTree

  • getChild
    Get the i-th child cache tree.
  • getEntrySpan
    Get the number of entries this tree spans within the DirCache. If this tree is not valid (see #isVal
  • <init>
  • appendName
  • computeSize
  • contains
  • getNameString
    Get the tree's name within its parent. This method is not very efficient and is primarily meant for
  • getObjectId
    Get the tree's ObjectId. If #isValid() returns false this method will return null.
  • insertChild
  • isValid
    Determine if this cache is currently valid. A valid cache tree knows how many org.eclipse.jgit.dirca
  • nameLength
  • namecmp
  • nameLength,
  • namecmp,
  • peq,
  • removeChild,
  • slash,
  • validate,
  • write,
  • writeTree,
  • getPathString

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • setContentView (Activity)
  • startActivity (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Collectors (java.util.stream)
  • JPanel (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top Sublime Text plugins
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