public class StringExt extends Object
Constructor and Description |
---|
StringExt() |
Modifier and Type | Method and Description |
---|---|
Boolean |
toBoolean(String self)
StringExt.toBoolean() 是数据类型转换,所以与 Logic.isTrue(String)
中的逻辑不同,后者只要 String 值非 null 并且 length() > 0 即返回 true
|
Byte |
toByte(String self) |
Double |
toDouble(String self) |
Float |
toFloat(String self) |
Integer |
toInt(String self) |
Long |
toLong(String self) |
Short |
toShort(String self) |
Copyright © 2018. All rights reserved.