public class DeviceLocal<T> extends Object
Constructor and Description |
---|
DeviceLocal() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
This method removes object stored for current device
|
T |
get()
This method returns object local to current deviceId
|
T |
get(int deviceId)
This method returns object local to target device
|
void |
set(int deviceId,
T object)
This method sets object for specific device
|
void |
set(T object)
This method sets object for current device
|
@Nullable public T get(int deviceId)
deviceId
- public void set(int deviceId, T object)
deviceId
- object
- public void set(T object)
object
- public void clear()
Copyright © 2016. All Rights Reserved.