类 StringToLongConverter
- java.lang.Object
-
- io.microsphere.convert.StringToLongConverter
-
- 所有已实现的接口:
Converter<java.lang.String,java.lang.Long>
,StringConverter<java.lang.Long>
,Prioritized
,java.lang.Comparable<Prioritized>
public class StringToLongConverter extends java.lang.Object implements StringConverter<java.lang.Long>
The class to convertString
toLong
- 从以下版本开始:
- 1.0.0
-
-
字段概要
-
从接口继承的字段 io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 StringToLongConverter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.lang.Long
convert(java.lang.String source)
Convert the source-typed value to the target-typed valueint
getPriority()
Get the priority-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.microsphere.convert.Converter
accept, getSourceType, getTargetType
-
从接口继承的方法 io.microsphere.lang.Prioritized
compareTo
-
-
-
-
方法详细资料
-
convert
public java.lang.Long convert(java.lang.String source)
从接口复制的说明:Converter
Convert the source-typed value to the target-typed value
-
getPriority
public int getPriority()
从接口复制的说明:Prioritized
Get the priority- 指定者:
getPriority
在接口中Prioritized
- 返回:
- the default is
minimum one
-
-