@Beta public final class PiCounterCell extends Object
| Constructor and Description |
|---|
PiCounterCell(PiCounterCellId cellId,
long packets,
long bytes)
Creates a new counter cell for the given cell identifier, number of packets and bytes.
|
PiCounterCell(PiCounterCellId cellId,
PiCounterCellData piCounterCellData)
Creates a new counter cell for the given cell identifier and counter cell data.
|
| Modifier and Type | Method and Description |
|---|---|
PiCounterCellId |
cellId()
Returns the cell identifier.
|
PiCounterCellData |
data()
Returns the data contained by this cell.
|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
public PiCounterCell(PiCounterCellId cellId, PiCounterCellData piCounterCellData)
cellId - counter cell identifierpiCounterCellData - counter cell datapublic PiCounterCell(PiCounterCellId cellId, long packets, long bytes)
cellId - counter cell identifierpackets - number of packetsbytes - number of bytespublic PiCounterCellId cellId()
public PiCounterCellData data()