Class ObjectWalk.TreeVisit

  • Enclosing class:
    ObjectWalk

    private static class ObjectWalk.TreeVisit
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) byte[] buf
      Canonical encoding of the tree named by obj.
      (package private) int depth
      Number of levels deep from the root tree.
      (package private) int nameEnd
      One past end of name, nameEnd - namePtr is the length.
      (package private) int namePtr
      Start of the current name entry in buf.
      (package private) RevObject obj
      The RevTree currently being iterated through.
      (package private) ObjectWalk.TreeVisit parent
      Parent tree visit that entered this tree, null if root tree.
      (package private) int pathLen
      Number of bytes in the path leading up to this tree.
      (package private) int ptr
      Index of next entry to parse in buf.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private TreeVisit()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • obj

        RevObject obj
        The RevTree currently being iterated through.
      • buf

        byte[] buf
        Canonical encoding of the tree named by obj.
      • ptr

        int ptr
        Index of next entry to parse in buf.
      • namePtr

        int namePtr
        Start of the current name entry in buf.
      • nameEnd

        int nameEnd
        One past end of name, nameEnd - namePtr is the length.
      • pathLen

        int pathLen
        Number of bytes in the path leading up to this tree.
      • depth

        int depth
        Number of levels deep from the root tree. 0 for root tree.
    • Constructor Detail

      • TreeVisit

        private TreeVisit()