只显示主题贴
你那dwr做的检测用户名是否存在也太慢了
- 进入论坛 Java 版
这个是没有做四舍五入的。
四舍五入看下面:
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
public class BigDec {
public static void main(String[] args){
// 四舍五入方法
MathContext v = new MathContext(5,RoundingMode.HALF_DOWN);
BigDecimal a = new BigDecimal("0.8 ...
- 进入论坛 入门讨论 版
Person tatic...
static...
main...
Person hello...
Person...
hello...
Test...
- 进入论坛 入门讨论 版
whitecat: whrite
cat: donot know
public static void main(java.lang.String[]);
Code:
Stack=2, Locals=2, Args_size=1
0: new #2; //class WhriteCat
3: dup
4: invokespecial #3; //Method WhriteCat."<init>":()V
7: astore_1
8: aload_1
9: invokevirtual #4; / ...
- 进入论坛 入门讨论 版
http://[([a-z0-9]|.|/|\\-)]+.[(jpg)|(jpeg)|(bmp)|(gif)|(png)]
有些是不规则的,比如说有%
- 进入论坛 入门讨论 版







评论排行榜