上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页

2016年8月18日

@interface注解类、 @Target:注解的作用目标 @Retention

摘要: public @interface xxx 定义注解 @Target(ElementType.TYPE) //接口、类、枚举、注解 @Target(ElementType.FIELD) //字段、枚举的常量 @Target(ElementType.METHOD) //方法 @Target(Eleme 阅读全文

posted @ 2016-08-18 13:52 赵磊磊 阅读(5360) 评论(0) 推荐(0) 编辑

2016年8月17日

mybatis 中文文档

摘要: http://www.mybatis.org/mybatis-3/zh/sqlmap-xml.html 阅读全文

posted @ 2016-08-17 14:05 赵磊磊 阅读(6749) 评论(0) 推荐(0) 编辑

2016年8月10日

keytool 错误:java.to.FileNotFoundException:

摘要: 老是报如题的错误: 后来才知道是因为当前的目录下没有写的权限,所以需要指定一个路径来存放android.key: keytool -genkey -alias android.key -keyalg RSA -validity 20000 -keystore /MY_PATH/android.key 阅读全文

posted @ 2016-08-10 15:26 赵磊磊 阅读(448) 评论(0) 推荐(0) 编辑

UUID.randomUUID().toString()

摘要: UUID.randomUUID().toString()是javaJDK提供的一个自动生成主键的方法。UUID(Universally Unique Identifier)全局唯一标识符,是指在一台机器上生成的数字,它保证对在同一时空中的所有机器都是唯一的,是由一个十六位的数字组成,表现出来的形式。 阅读全文

posted @ 2016-08-10 14:11 赵磊磊 阅读(1062) 评论(0) 推荐(0) 编辑

2016年8月9日

MyBatis的foreach语句详解

摘要: foreach的主要用在构建in条件中,它可以在SQL语句中进行迭代一个集合。foreach元素的属性主要有 item,index,collection,open,separator,close。item表示集合中每一个元素进行迭代时的别名,index指定一个名字,用于表示在迭代过程中,每次迭代到的 阅读全文

posted @ 2016-08-09 17:31 赵磊磊 阅读(733) 评论(0) 推荐(0) 编辑

2016年8月7日

Android Acitivy切换平移动画效果实现

摘要: 1.在anim目录下新建anim文件夹,新建tran_in.xml和tran_out.xml分别表示下一页切换进入,和本页切换出去。 即in表示下一页向左平移,out表示同样向左平移至消失。 tran_in.xml tran_out.xml 阅读全文

posted @ 2016-08-07 16:27 赵磊磊 阅读(244) 评论(0) 推荐(0) 编辑

2016年8月5日

android 页面的切换

摘要: R.anim.pull_in_right//同样在anim文件下面新建一个pull_in_left.xml文件 <scale xmlns:android="http://schemas.android.com/apk/res/android" android:duration="@integer/a 阅读全文

posted @ 2016-08-05 17:43 赵磊磊 阅读(242) 评论(0) 推荐(0) 编辑

2016年8月2日

在Intellij IDEA 中clean报错:-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match.

摘要: 解决办法:添加VM属性 -Dmaven.multiModuleProjectDirectory=$M2_HOME 阅读全文

posted @ 2016-08-02 16:53 赵磊磊 阅读(276) 评论(0) 推荐(0) 编辑

2016年8月1日

spring的jar各包作用

摘要: http://yjwen337.blog.163.com/blog/static/3625847820106132949858/[转]spring.jar是包含有完整发布的单个jar 包,spring.jar中包含除了spring-mock.jar里所包含的内容外其它所有jar包的内容,因为只有在开 阅读全文

posted @ 2016-08-01 12:18 赵磊磊 阅读(159) 评论(0) 推荐(0) 编辑

2016年7月22日

java反射

摘要: java在反射时候经常用到了 Field 类。 代码: public class ReflectTest {//需要反射的类 private String fname; private String lname; public ReflectTest(String fname, String lna 阅读全文

posted @ 2016-07-22 16:55 赵磊磊 阅读(169) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页

导航