public class Counters
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
Counters.AbstractPathCounters
Counts files, directories, and sizes, as a visit proceeds.
|
private static class |
Counters.BigIntegerCounter
Counts using a
BigInteger number. |
private static class |
Counters.BigIntegerPathCounters
Counts files, directories, and sizes, as a visit proceeds, using BigInteger numbers.
|
static interface |
Counters.Counter
Counts using a number.
|
private static class |
Counters.LongCounter
Counts using a
long number. |
private static class |
Counters.LongPathCounters
Counts files, directories, and sizes, as a visit proceeds, using long numbers.
|
private static class |
Counters.NoopCounter
Counts nothing.
|
private static class |
Counters.NoopPathCounters
Counts nothing.
|
static interface |
Counters.PathCounters
Counts files, directories, and sizes, as a visit proceeds.
|
| Constructor and Description |
|---|
Counters() |
| Modifier and Type | Method and Description |
|---|---|
static Counters.Counter |
bigIntegerCounter()
Returns a new BigInteger Counter.
|
static Counters.PathCounters |
bigIntegerPathCounters()
Returns a new BigInteger PathCounters.
|
static Counters.Counter |
longCounter()
Returns a new long Counter.
|
static Counters.PathCounters |
longPathCounters()
Returns a new BigInteger PathCounters.
|
static Counters.Counter |
noopCounter()
Returns the no-op Counter.
|
static Counters.PathCounters |
noopPathCounters()
Returns the no-op PathCounters.
|
public static Counters.Counter bigIntegerCounter()
public static Counters.PathCounters bigIntegerPathCounters()
public static Counters.Counter longCounter()
public static Counters.PathCounters longPathCounters()
public static Counters.Counter noopCounter()
public static Counters.PathCounters noopPathCounters()