通过对Java源码的学习我们会发现,AbstractCollection实现了Collection接口,List接口继承自Collection接口,AbstractList又继承了AbstractCollection类,并且实现了List接口。 诸如此种的还有AbstarctSet,Abstarct ...
分类:
其他好文 时间:
2019-12-23 22:14:39
阅读次数:
92
自定义错误结构体 package utils type MyError struct { Code int Message string } func NewMyError(code int, msg string) error { return &MyError{Code: code, Messa... ...
分类:
其他好文 时间:
2019-12-23 14:55:04
阅读次数:
106
环境: windows 7 oracle jdk 1.8 intellij idea 2019.3.1 spring-framework 5.1.22.RELEASE 步骤: 1: 下载解压spring zip 包(githup或者gitee下载) 2: 修改spring-framework源码配置 ...
分类:
编程语言 时间:
2019-12-23 13:42:00
阅读次数:
590
binlog2sql闪回工具的使用 一、下载安装依赖的python yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel yum install python34 -y pyt ...
分类:
数据库 时间:
2019-12-23 11:48:38
阅读次数:
91
限流代码 package Services import ( "context" "errors" "fmt" "github.com/go-kit/kit/endpoint" "golang.org/x/time/rate" "gomicro/utils" "strconv" ) type Use... ...
分类:
其他好文 时间:
2019-12-23 00:36:58
阅读次数:
72
package main import ( "fmt" "golang.org/x/time/rate" "time" ) func main() { r := rate.NewLimiter(1, 5) //1表示每次放进筒内的数量,桶内的令牌数是5,最大令牌数也是5,这个筒子是自动补充的,你只要... ...
分类:
其他好文 时间:
2019-12-23 00:11:59
阅读次数:
87
Content Taxonomies Content Taxonomies Taxonomies are groupings of posts based on a common relation. In Ghost, this is always defined by the post's aut ...
分类:
其他好文 时间:
2019-12-23 00:11:21
阅读次数:
88
目录 学生信息存储系统的设计与实现 1 一、摘要: 1 二、 需求分析 2 2.1可行性分析 2 2.1.1 2 2.1.2 2 2.2 需求分析 2 2.2.1 2 2.2.2 2 三、 总体设计 2 3.1系统功能结构图 3 3.2UI设计图 4 3.3数据库存储 5 3.3.1添加信息(学生信 ...
分类:
其他好文 时间:
2019-12-22 14:22:39
阅读次数:
80
Design an Iterator class, which has: A constructor that takes a string characters of sorted distinct lowercase English letters and a number combinatio ...
分类:
其他好文 时间:
2019-12-22 10:23:29
阅读次数:
99
原文:https://blog.csdn.net/lvshaorong/article/details/78048823 本文基于Redhat 6.7操作系统,已经成功安装了Oracle 12c数据库,配置好了内核参数和环境变量,仅介绍一下如何新建一个实例 Oracle Database版本:Ora ...
分类:
数据库 时间:
2019-12-21 22:43:20
阅读次数:
143