Class StatsCollector


  • public class StatsCollector
    extends Object
    • Field Detail

      • maxTs

        public long maxTs
      • header

        public crosby.binary.Osmformat.HeaderBlock header
    • Constructor Detail

      • StatsCollector

        public StatsCollector​(Path pbf)
    • Method Detail

      • addHeader

        public void addHeader​(crosby.binary.Osmformat.HeaderBlock header)
        Adds Header Block.
        Parameters:
        header - HeaderBlock
      • add

        public void add​(Osh osh)
        Add OSH Entity.
        Parameters:
        osh - Entity
      • print

        public void print​(PrintStream out)
        Prints the collected Stats to given PrintStream.
        Parameters:
        out - PrintStream