T - field typepublic static final class FieldMapImpl.Builder<T> extends java.lang.Object implements Field.Builder<T>
| Constructor and Description |
|---|
Builder() |
| 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. |
public Field.Builder<T> add(DeviceUID key, T value)
Field.Builderadd in interface Field.Builder<T>key - the neighbor idvalue - the neighbor value