mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
17 lines
303 B
Java
17 lines
303 B
Java
package org.briarproject.api;
|
|
|
|
/**
|
|
* Type-safe wrapper for a byte array that uniquely identifies a device.
|
|
*/
|
|
public class DeviceId extends UniqueId {
|
|
|
|
public DeviceId(byte[] id) {
|
|
super(id);
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
return o instanceof DeviceId && super.equals(o);
|
|
}
|
|
}
|