クラス TestPropertyValues.Pair
java.lang.ObjectSE
org.springframework.boot.test.util.TestPropertyValues.Pair
- 含まれているクラス:
TestPropertyValues
単一の名前と値のペア。
- 導入:
- 2.0.0
- 作成者:
- Madhura Bhave, Phillip Webb, Stephane Nicoll
メソッドのサマリー
修飾子と型メソッド説明voidstatic @Nullable TestPropertyValues.PairfromMapEntry(@Nullable Map.EntrySE<StringSE, StringSE> entry) Map.EntryからTestPropertyValues.Pairを作成するファクトリメソッド。static @Nullable TestPropertyValues.Pair名前と値からTestPropertyValues.Pairを作成するファクトリメソッド。static @Nullable TestPropertyValues.Pair
メソッドの詳細
addTo
parse
fromMapEntry
@Contract("!null -> !null") public static @Nullable TestPropertyValues.Pair fromMapEntry(@Nullable Map.EntrySE<StringSE, StringSE> entry) Map.EntryからTestPropertyValues.Pairを作成するファクトリメソッド。- パラメーター:
entry- マップエントリ- 戻り値:
TestPropertyValues.Pairインスタンスまたはnull- 導入:
- 2.4.0
of
public static @Nullable TestPropertyValues.Pair of(@Nullable StringSE name, @Nullable StringSE value) 名前と値からTestPropertyValues.Pairを作成するファクトリメソッド。- パラメーター:
name- 名前value- 値- 戻り値:
TestPropertyValues.Pairインスタンスまたはnull- 導入:
- 2.4.0