T - resulting field typepublic static interface Field.Builder<T>
| Modifier and Type | Method and Description |
|---|---|
Field.Builder<T> |
add(DeviceUID key,
T value)
Adds an element to the field.
|
Field<T> |
build(DeviceUID localKey,
T localValue)
Builds a
Field. |
Field.Builder<T> add(DeviceUID key, T value)
key - the neighbor idvalue - the neighbor value