Commit a3b1f7d3013569acdc188250dff48950431ca518
1 parent
0395b15f07
Exists in
master
and in
1 other branch
孕妇分娩后 变成产妇
Showing 1 changed file with 0 additions and 35 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/Test.java
View file @
a3b1f7d
| 1 | -package com.lyms.platform.operate.web; | |
| 2 | - | |
| 3 | - | |
| 4 | -import org.springframework.util.StopWatch; | |
| 5 | - | |
| 6 | -/** | |
| 7 | - * Created by Administrator on 2016/5/3 0003. | |
| 8 | - */ | |
| 9 | -public class Test { | |
| 10 | - public static void main(String[] args){ | |
| 11 | -// StopWatch stopWatch= new StopWatch("doctor-api-patient"); | |
| 12 | -// stopWatch.start("query patients"); | |
| 13 | -// add(); | |
| 14 | -// stopWatch.stop(); | |
| 15 | -// stopWatch.start("query patients1"); | |
| 16 | -// add(); | |
| 17 | -// stopWatch.stop(); | |
| 18 | -// stopWatch.start("query patients2"); | |
| 19 | -// add(); | |
| 20 | -// stopWatch.stop(); | |
| 21 | -// System.out.print(stopWatch); | |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | - String a = "*****"; | |
| 26 | - System.out.println(a.matches("^\\**$")); | |
| 27 | - } | |
| 28 | - private static void add(){ | |
| 29 | - int a=0; | |
| 30 | - for(int i =0;i<100000;i++){ | |
| 31 | - a +=i; | |
| 32 | - } | |
| 33 | - System.out.println(a); | |
| 34 | - } | |
| 35 | -} |