public class DeviceManager<DeviceType>
extends java.util.HashMap<java.lang.String,DeviceType>
Constructor and Description |
---|
DeviceManager() |
Modifier and Type | Method and Description |
---|---|
DeviceType |
get(java.lang.String address) |
DeviceType |
getIfExists(java.lang.String address) |
static DeviceManager |
instance() |
public static DeviceManager instance()
@NonNull public DeviceType get(@NonNull java.lang.String address)
@Nullable public DeviceType getIfExists(java.lang.String address)