| 类 | 说明 |
|---|---|
| BigDecimalExt |
针对 java.math.BigDecimal 的扩展方法
用法:
#if(value.toInt() == 123)
|
| BigIntegerExt |
针对 java.math.BigInteger 的扩展方法
用法:
#if(value.toInt() == 123)
|
| ByteExt |
针对 java.lang.Byte 的扩展方法
用法:
#if(value.toInt() == 123)
|
| DoubleExt |
针对 java.lang.Double 的扩展方法
用法:
#if(value.toInt() == 123)
|
| FloatExt |
针对 java.lang.Float 的扩展方法
用法:
#if(value.toInt() == 123)
|
| IntegerExt |
针对 java.lang.Integer 的扩展方法
重要用途:
Controller.keepPara() 方法会将所有类型的数据当成 String 并传回到
到模板中,所以模板中的如下代码将无法工作:
#if(age > 18)
....
|
| LongExt |
针对 java.lang.Long 的扩展方法
用法:
#if(value.toInt() == 123)
|
| ShortExt |
针对 java.lang.Short 的扩展方法
用法:
#if(value.toInt() == 123)
|
| StringExt |
针对 java.lang.String 的扩展方法
重要用途:
Controller.keepPara() 方法会将所有类型的数据当成 String 并传回到
到模板中,所以模板中的如下代码将无法工作:
#if(age > 18)
....
|
Copyright © 2024. All rights reserved.