Class Counters


  • public class Counters
    extends java.lang.Object
    Provides counters for files, directories, and sizes, as a visit proceeds.
    Since:
    2.7
    • Constructor Detail

      • Counters

        public Counters()
    • Method Detail

      • bigIntegerCounter

        public static Counters.Counter bigIntegerCounter()
        Returns a new BigInteger Counter.
        Returns:
        a new BigInteger Counter.
      • bigIntegerPathCounters

        public static Counters.PathCounters bigIntegerPathCounters()
        Returns a new BigInteger PathCounters.
        Returns:
        a new BigInteger PathCounters.
      • longCounter

        public static Counters.Counter longCounter()
        Returns a new long Counter.
        Returns:
        a new long Counter.
      • longPathCounters

        public static Counters.PathCounters longPathCounters()
        Returns a new BigInteger PathCounters.
        Returns:
        a new BigInteger PathCounters.
      • noopCounter

        public static Counters.Counter noopCounter()
        Returns the NOOP Counter.
        Returns:
        the NOOP Counter.
        Since:
        2.9.0
      • noopPathCounters

        public static Counters.PathCounters noopPathCounters()
        Returns the NOOP PathCounters.
        Returns:
        the NOOP PathCounters.
        Since:
        2.9.0