public final class UserProperties extends MqttProperty<List<StringPair>>
| Constructor and Description |
|---|
UserProperties() |
UserProperties(Collection<StringPair> values)
Create user properties from the collection of the String pair values
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(StringPair pair) |
void |
add(String key,
String value) |
static UserProperties |
fromUserPropertyCollection(Collection<UserProperty> properties) |
String |
toString() |
equals, hashCode, propertyId, valuepublic UserProperties()
public UserProperties(Collection<StringPair> values)
values - string pairs. Collection entries are copied, collection itself isn't sharedpublic static UserProperties fromUserPropertyCollection(Collection<UserProperty> properties)
public void add(StringPair pair)
Copyright © 2025. All rights reserved.