public final class PiCounterCellHandle extends PiHandle
Modifier and Type | Method and Description |
---|---|
PiCounterCellId |
cellId()
Returns the counter cell ID associated with this handle.
|
PiEntityType |
entityType()
Returns the type of entity identified by this handle.
|
boolean |
equals(Object obj) |
int |
hashCode() |
static PiCounterCellHandle |
of(DeviceId deviceId,
PiCounterCell cell)
Creates a new handle for the given device ID and counter cell.
|
static PiCounterCellHandle |
of(DeviceId deviceId,
PiCounterCellId cellId)
Creates a new handle for the given device ID and counter cell ID.
|
String |
toString() |
public static PiCounterCellHandle of(DeviceId deviceId, PiCounterCellId cellId)
deviceId
- device IDcellId
- counter cell IDpublic static PiCounterCellHandle of(DeviceId deviceId, PiCounterCell cell)
deviceId
- device IDcell
- counter cellpublic PiCounterCellId cellId()
public PiEntityType entityType()
PiHandle
entityType
in class PiHandle