服务端: 先在服务端写接口以及接口实现类: package com.gupao.dubbo; public interface GPDubboService { public String sayHello(String msg); } package com.gupao.dubbo; public ...
分类:
其他好文 时间:
2020-07-05 17:48:28
阅读次数:
103
一、 1、创建 元注解 public @interface AnnotationName{} 2、元注解 1)@Retation 定义注解的生命周期 【 source -> class -> runtime ] 2)@Documented 文档注解, 会被JavaDoc 工具文档化 3)@Inher ...
分类:
其他好文 时间:
2020-07-05 15:38:51
阅读次数:
62
MySQL的体系结构概览 整个MySQL Server由以下组成: Connection Pool : 连接池组件 Management Services & Utilities : 管理服务和工具组件 SQL Interface : SQL接口组件 Parser : 查询分析器组件 Optimiz ...
分类:
数据库 时间:
2020-07-05 00:35:24
阅读次数:
91
1.在公众号后台获取消息模板(本例使用微信测试账号),观看微信官方文档:https://developers.weixin.qq.com/doc/offiaccount/Message_Management/Template_Message_Interface.html#5 测试账号需自己定义消息模 ...
分类:
微信 时间:
2020-07-04 19:01:38
阅读次数:
167
tcpdump -i interface -nc 10 ether dst MAC 使用MAC地址进行抓包,加入ether修饰 win表示发送方窗口大小,ack213表示对序列号213的包进行响应Flags表示tcp的标志位信息 . ACK S SYN F FIN P PUSH R RST tcpd ...
分类:
其他好文 时间:
2020-07-04 16:48:32
阅读次数:
74
匿名内部类 示例代码 接口: public interface Usb { void service(); } 实现类: public class Mouse implements Usb { @Override public void service() { System.out.println( ...
分类:
其他好文 时间:
2020-07-04 13:38:41
阅读次数:
56
public class Test { public static void main(String args[]){ Test tester = new Test(); // 类型声明 MathOperation addition = (int a, int b) -> a + b; // 不用类 ...
分类:
编程语言 时间:
2020-07-03 21:50:39
阅读次数:
85
背景:dataFrame的数据,想对某一个列做逻辑处理,生成新的列,或覆盖原有列的值 下面例子中的df均为pandas.DataFrame()的数据 1、增加新列,或更改某列的值 df["列名"]=值 如果值为固定的一个值,则dataFrame中该列所有值均为这个数据 2、处理某列 df["列名"] ...
分类:
其他好文 时间:
2020-07-03 19:39:59
阅读次数:
299
//创建二层聚合接口,并进入二层聚合接口视图 [switch] interface bridge-aggregation interface-number //进入二层以太网端口视图 [switch] interface interface-type interface-number //将二层以太 ...
分类:
其他好文 时间:
2020-07-03 12:46:11
阅读次数:
90
要实现一个功能动态表单中嵌套动态表单如下: 仔细看看antd的文档其实不难 具体步骤如下(代码用ts写的) 1.建立一个 名为 ConcatRegion的组件(动态表单A)代码如下 接口如下: interface ConcatRegionProps { form: ReturnType<typeof ...
分类:
其他好文 时间:
2020-07-03 12:31:00
阅读次数:
77