Package org.sensorhub.api.common
Class BigIdBytes
java.lang.Object
org.sensorhub.api.common.BigIdBytes
- All Implemented Interfaces:
Comparable<BigId>
,BigId
-
Field Summary
Fields inherited from interface org.sensorhub.api.common.BigId
BASE32_ENCODING, BYTES_COMPARATOR, NO_LONG_REPRESENTATION, NONE
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BigIdBytes
public BigIdBytes(int scope, byte[] id)
-
-
Method Details
-
getScope
public int getScope() -
getIdAsBytes
public byte[] getIdAsBytes()- Specified by:
getIdAsBytes
in interfaceBigId
- Returns:
- The value of the ID part as a byte array
-
getIdAsLong
public long getIdAsLong()- Specified by:
getIdAsLong
in interfaceBigId
- Returns:
- The value of the ID part as a long
-
size
public int size() -
equals
-
hashCode
public int hashCode() -
toString
-