public static class TestPropertyValues.Pair
extends java.lang.Object
| Constructor and Description |
|---|
Pair(java.lang.String name,
java.lang.String value)
Deprecated.
since 2.4.0 in favor of
of(String, String) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTo(java.util.Map<java.lang.String,java.lang.Object> properties) |
static TestPropertyValues.Pair |
fromMapEntry(java.util.Map.Entry<java.lang.String,java.lang.String> entry)
Factory method to create a
TestPropertyValues.Pair from a Map.Entry. |
static TestPropertyValues.Pair |
of(java.lang.String name,
java.lang.String value)
Factory method to create a
TestPropertyValues.Pair from a name and value. |
static TestPropertyValues.Pair |
parse(java.lang.String pair) |
@Deprecated
public Pair(java.lang.String name,
java.lang.String value)
of(String, String)TestPropertyValues.Pair instance.name - the namevalue - the valuepublic void addTo(java.util.Map<java.lang.String,java.lang.Object> properties)
public static TestPropertyValues.Pair parse(java.lang.String pair)
public static TestPropertyValues.Pair fromMapEntry(java.util.Map.Entry<java.lang.String,java.lang.String> entry)
TestPropertyValues.Pair from a Map.Entry.entry - the map entryTestPropertyValues.Pair instance or nullpublic static TestPropertyValues.Pair of(java.lang.String name, java.lang.String value)
TestPropertyValues.Pair from a name and value.name - the namevalue - the valueTestPropertyValues.Pair instance or null