@Beta public final class PiCounterCellData extends Object
Constructor and Description |
---|
PiCounterCellData(long packets,
long bytes)
Creates a new counter cell data for the given number of packets and bytes.
|
Modifier and Type | Method and Description |
---|---|
long |
bytes()
Returns the byte count value contained by this counter data.
|
boolean |
equals(Object o) |
int |
hashCode() |
long |
packets()
Returns the packet count value contained by this counter data.
|
String |
toString() |
public PiCounterCellData(long packets, long bytes)
packets
- number of packetsbytes
- number of bytes