Package com.ironcorelabs.sdk
Class DeviceId
- java.lang.Object
-
- com.ironcorelabs.sdk.DeviceId
-
public final class DeviceId extends java.lang.Object
ID of a device. Device IDs are numeric and will always be greater than 0.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceId
clone()
void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
long
getId()
int
hashCode()
This implementation calls native code, which means it's relatively slow.static DeviceId
validate(long s)
-
-
-
Method Detail
-
validate
public static DeviceId validate(long s) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getId
public final long getId()
-
clone
public final DeviceId clone()
- Overrides:
clone
in classjava.lang.Object
-
delete
public void delete()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
hashCode
public int hashCode()
This implementation calls native code, which means it's relatively slow.- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-