public interface IIdentifier extends Comparable
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the state of this identifier,
setting the value to 0.
|
void |
fromHexString(String hexRep)
Set the value from a raw hex string.
|
long |
getValue()
Get the value of this identifier as a long.
|
boolean |
isValid()
True if this ID has been set;
False if it has not been set
or was set and
clear()
was called. |
void |
setValue(long id)
Set the value of this identifier from a long.
|
String |
toHexString()
Get a raw hex string representation.
|
compareTo
long getValue()
void setValue(long id)
id
- The long value.String toHexString()
void fromHexString(String hexRep)
hexRep
- The hex representation.void clear()
boolean isValid()
clear()
was called.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.