随笔分类 -  java

linux 下 genymotion 模拟器不能安装app
摘要:提示: "应用未安装" 解决方法: 下载: Genymotion-ARM-Translation_v1.1.zip 进入genymotion 的tools用adb传进去: ./adb push Genymotion-ARM-Translation_v1.1.zip /mnt/sdcard 利用she 阅读全文

posted @ 2017-09-08 14:28 Perl6 阅读(523) 评论(0) 推荐(0)

java正则: 忽略大小写匹配
摘要:import java.util.regex.Matcher; import java.util.regex.Pattern; import com.sun.org.apache.xerces.internal.impl.xpath.regex.CaseInsensitiveMap; public class test { public static void main(Strin... 阅读全文

posted @ 2017-07-22 05:18 Perl6 阅读(11644) 评论(0) 推荐(0)

java中的matches -> 完全匹配
摘要:matches是完全匹配。跟matcher不一样, matcher像perl正则, 能匹配到符合的都会返回true, 而这个matches要完全一模一样才行。 阅读全文

posted @ 2017-07-22 05:07 Perl6 阅读(2751) 评论(0) 推荐(0)

java匿名对象
摘要:package first; public class anonymous { public void say(){ System.out.println("我是匿名对象"); } public static void main(String [] args){ new anonymous().sa 阅读全文

posted @ 2017-07-20 23:21 Perl6 阅读(279) 评论(0) 推荐(0)

java类中访问属性
摘要:package first; public class for_protect { private int age=10; int number = 100; public void show(){ System.out.println(number); System.out.println(this.number=1000); ... 阅读全文

posted @ 2017-07-20 22:48 Perl6 阅读(1031) 评论(0) 推荐(1)

导航