码迷,mamicode.com
首页 >  
搜索关键字:param    ( 11285个结果
RabbitMQ接口封装
1.引用 <dependency> <groupId>com.rabbitmq</groupId> <artifactId>amqp-client</artifactId></dependency>2.代码 package cn.piesat.task.util;import com.rabbitm ...
分类:其他好文   时间:2020-03-16 12:43:08    阅读次数:166
dubbo源码阅读-服务订阅(八)之远程订阅(dubbo)
说明 从《服务订阅主流程》可以看到根据协议来注册 我们默认没有根据url直接配置所以url是registry SPI扩展就是走的RegistryProtocol RegistryProtocol <1>refer /** * type为订阅接口 * @param type Service class ...
分类:其他好文   时间:2020-03-16 11:13:39    阅读次数:66
015_myBatis形参是字符串的错误
There is no getter for property named ... in 'class java.lang.String' 在使用mybaitis传参数的时候,如果仅传入一个类型为String的参数,那么在 xml文件中应该使用_parameter来代替参数名。 正确的写法: <se ...
分类:其他好文   时间:2020-03-16 09:17:32    阅读次数:65
matplotlib 饼状图
import matplotlib.pyplot as plt import matplotlib as mpl # 支持中文 plt.rcParams['font.sans-serif'] = ['SimHei'] # 用来正常显示中文标签 plt.rcParams['axes.unicode_m ...
分类:其他好文   时间:2020-03-15 20:33:20    阅读次数:70
连接数据库进行增删改查(基本)上
1.首先在数据库中建表 2.编写工具类,用来连接数据库以及关流,3306是数据库MySQL的端口号 public static Connection getconn() { Connection conn=null; try { Class.forName("com.mysql.jdbc.Drive ...
分类:数据库   时间:2020-03-15 20:28:14    阅读次数:81
扎心一问:NIO 和 IO 到底有什么区别?
前言 最近在面试过程中有被问到,在Java反射中Class.forName()加载类和使用ClassLoader加载类的区别。当时没有想出来后来自己研究了一下就写下来记录一下。 解释 在java中Class.forName()和ClassLoader都可以对类进行加载。ClassLoader就是遵循 ...
分类:其他好文   时间:2020-03-15 13:44:39    阅读次数:68
FPGA——TLV5618 Driver(未完成)
1 module tlv5618( 2 clk ,//50MHz时钟 3 rst_n ,//复位 4 dac_data ,//16位数据输入 5 start ,//DAC驱动使能 6 set_done ,//数据转换完成标志位 7 8 dac_cs_n ,//片选 9 dac_din ,//16数据 ...
分类:其他好文   时间:2020-03-15 13:31:21    阅读次数:50
[LintCode] 904. Plus One Linked List
Given a non-negative integer represented as non-empty a singly linked list of digits, plus one to the integer. You may assume the integer do not conta ...
分类:其他好文   时间:2020-03-15 13:27:25    阅读次数:48
单列集合List
List的常用子类 如果要执行大量的增删操作选择LinkedList,如果只是查询的话用ArrayList ArrayList集合 有序存储,继承了List的特性,平时常用来查询,遍历数据 底层是数组结构,所以增删慢,查询快,效率高意味着线程不安全 LinkedList集合 有序存储,继承了List ...
分类:其他好文   时间:2020-03-15 13:10:41    阅读次数:60
MyBatis的使用2(使用注解配置mapper)
配置mapper的type使用package(使用注解来配置mapper): <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "htt ...
分类:移动开发   时间:2020-03-15 09:43:59    阅读次数:74
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!