public class StringToOptionalConverter extends Object implements StringConverter<Optional>
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| 构造器和说明 |
|---|
StringToOptionalConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
Optional |
convert(String source)
Convert the source-typed value to the target-typed value
|
int |
getPriority()
Get the priority
|
accept, convertIfPossible, getConverter, getSourceType, getTargetTypecompareTopublic Optional convert(String source)
Converterpublic int getPriority()
PrioritizedgetPriority 在接口中 PrioritizedPrioritized.NORMAL_PRIORITYCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.