Package org.sensorhub.api.common
Class BigIdZero
java.lang.Object
org.sensorhub.api.common.BigIdZero
- All Implemented Interfaces:
Comparable<BigId>
,BigId
BigId implementation backed by a single long value
- Since:
- Apr 14, 2022
-
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
-
BigIdZero
public BigIdZero()
-
-
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
-