public abstract class NullableWrapperConverters extends ObjectSE
java.util.Optional
com.google.common.base.Optional
scala.Option
javaslang.control.Option
io.vavr.control.Option
修飾子と型 | メソッドと説明 |
---|---|
static boolean | isSingleValue(ClassSE<?> type) |
static void | registerConvertersIn(ConverterRegistry registry) クラスパスで見つかったラッパー型のコンバーターを登録します。 |
static boolean | supports(ClassSE<?> type) 指定された型がサポートされているラッパー型であるかどうかを返します。 |
static boolean | supportsUnwrapping(ClassSE<?> type) 指定されたラッパー型がアンラップをサポートするかどうかを返します。 |
static ObjectSE | unwrap(ObjectSE source) 実行時に検出された現在サポートされているラッパー型の 1 つである場合は、指定されたソース値をアンラップします。 |
static TypeInformation<?> | unwrapActualType(TypeInformation<?> type) 指定された TypeInformation から既知のラッパー型を再帰的にアンラップします。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static boolean supports(ClassSE<?> type)
type
- null であってはなりません。public static boolean supportsUnwrapping(ClassSE<?> type)
type
- null であってはなりません。public static boolean isSingleValue(ClassSE<?> type)
public static void registerConvertersIn(ConverterRegistry registry)
registry
- null であってはなりません。@Nullable public static ObjectSE unwrap(@Nullable ObjectSE source)
source
- null でもかまいません。public static TypeInformation<?> unwrapActualType(TypeInformation<?> type)
TypeInformation
から既知のラッパー型を再帰的にアンラップします。type
- null であってはなりません。Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.