07 2021 档案
摘要:1.html <html> <head> <script src="./jquery.min.js"></script> <script type="text/javascript"> $(function(){ $("#imgid").on('click','img',function(){ va
阅读全文
摘要:public static void main(String[] args) { FileOutputStream fileOut = null; BufferedImage bufferImg = null; //先把读进来的图片放到一个ByteArrayOutputStream中,以便产生Byt
阅读全文
摘要:4种方法,都是四舍五入,例: import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.NumberFormat; public class format { double f = 111231.558
阅读全文
摘要:一、需求:密码必须是包含大写字母、小写字母、数字、特殊符号(不是字母,数字,下划线,汉字的字符)的8位以上组合 二、方案:利用正则表达式来校验 三、思路:排除法 1、排除大写字母、小写字母、数字、特殊符号中1种组合、2种组合、3种组合,那么就只剩下4种都包含的组合了 2、表达式为:^(?![A-Za
阅读全文