enjoy 3.4

This commit is contained in:
James
2018-04-01 16:29:13 +08:00
parent 2ed806c296
commit ef7b0da917
16 changed files with 215 additions and 109 deletions

View File

@@ -79,6 +79,14 @@ public class StringExt {
public Double toDouble(String self) {
return StrKit.isBlank(self) ? null : Double.parseDouble(self);
}
public Short toShort(String self) {
return StrKit.isBlank(self) ? null : Short.parseShort(self);
}
public Byte toByte(String self) {
return StrKit.isBlank(self) ? null : Byte.parseByte(self);
}
}