码迷,mamicode.com
首页 >  
搜索关键字:odi    ( 5486个结果
Java元注解
元注解是指注解的注解,包括@Retention @Target @Document @Inherited四种。 1.@Retention: 定义注解的保留策略@Retention(RetentionPolicy.SOURCE) //注解仅存在于源码中,在class字节码文件中不包含@Retentio ...
分类:编程语言   时间:2017-01-16 10:38:30    阅读次数:207
Android 自定义属性
Android自定义属性我们自定义控件中是经常用到的,自定义属性可以在我们的xml布局文件中使用,这样可以减少代码量,也增加了代码的健壮性和可阅读性。所以,在掌握自定义控件之前要首先掌握好怎样自定义属性。 首先来看看自定属性都有哪些? values/attrs.xml 中可定义的属性类型有如下几个: ...
分类:移动开发   时间:2017-01-15 21:46:50    阅读次数:243
with补充知识点
import threading,queue,time import contextlib @contextlib.contextmanager def fun(list_1,val): list_1.append(val) try: yield finally: list_1.remove(val... ...
分类:其他好文   时间:2017-01-15 17:01:41    阅读次数:141
Mysql笔记4数据表操作1
1查看表的结构 (1)show create table +数据库名称 (2)desc+数据库名称 2修改表 (1)表中添加列 alter table 数据库名称 add column addr varchar(20)//添加地址列 (2)修改表某列扥类型 alter table 数据库名称 mod ...
分类:数据库   时间:2017-01-15 07:28:04    阅读次数:306
shell 分支/循环
if((i%2==1)); then patern="Update" else patern="Read" fi case $1 in "-h") if [ $# -lt 2 ] then helpInfo else errorUse $@ fi ;; "-d") if [ $# ... ...
分类:系统相关   时间:2017-01-14 23:17:16    阅读次数:309
mybatis学习笔记三(关联关系)
学习mybatis的关联关系,主要注解在代码上,这里不做解释。配置文件一样的就不贴了 1.关联关系表创建(学生对应老师 多对一) 学生老师表 2.表对应的实体类 3.核心主要是配置文件 4. 测试 5.结果 ...
分类:其他好文   时间:2017-01-14 22:05:14    阅读次数:223
android:layout_weight属性的使用方法总结
原创文章,转载请注明出处http://www.cnblogs.com/baipengzhan/p/6282826.html android:layout_weight属性可以和其他属性配合使用,产生多种效果,但如果我们不清楚各种配合的使用,也容易产生一些 意想不到的结果,今天我们就认真的总结一下an ...
分类:移动开发   时间:2017-01-13 22:05:20    阅读次数:340
Spring 读取配置文件的俩种方式
读取配置可通过 org.springframework.core.env.Environment 类来获取, 也可以通过@Value的方式来获取 注解形式: 配置文件形式: <context:property-placeholder location="classpath:jdbc.properti ...
分类:编程语言   时间:2017-01-13 21:04:47    阅读次数:176
mybatis---demo1--(单表增删改查)----bai
实体类: package com.etc.entity; public class News { private int id; private String title; private String content; public int getId() { return id; } publi... ...
分类:其他好文   时间:2017-01-12 18:24:44    阅读次数:280
x86汇编
memory holds instructions and data CPU interpreter of instructions EIP is incremented after each instruction instruction are different length EIP modi ...
分类:其他好文   时间:2017-01-12 12:53:48    阅读次数:182
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!