ruijiege

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页

2021年11月30日

摘要: #coding=utf-8 import numpy as np import jieba class TfIdf: def __init__(self,doc): self.doc = doc self.get_dic() def get_dic(self): stop_path = 'stop_ 阅读全文
posted @ 2021-11-30 17:07 哦哟这个怎么搞 阅读(33) 评论(0) 推荐(0)

摘要: 文章参照 链接:https://www.cnblogs.com/pinard/p/6945257.html # coding=utf-8 import re import numpy as np class Hmm(object): def __init__(self, train_path): s 阅读全文
posted @ 2021-11-30 17:06 哦哟这个怎么搞 阅读(77) 评论(0) 推荐(0)

2021年10月19日

摘要: https://www.cnblogs.com/xzh0717/p/11717854.html#/c/subject/p/11717854.html 阅读全文
posted @ 2021-10-19 16:17 哦哟这个怎么搞 阅读(34) 评论(0) 推荐(0)

2021年9月29日

摘要: 1.求和 items.stream().mapToLong(object::get).sum() 2.字符集拆分为id package cn.fw.finance.common.util; import java.util.Collection; import java.util.HashSet; 阅读全文
posted @ 2021-09-29 09:28 哦哟这个怎么搞 阅读(52) 评论(0) 推荐(0)

2021年8月23日

摘要: public static int maxArea(int[] height) { int length = height.length; int left=0,right=length-1,max=0,area; while (left<right){ area = Math.min(height 阅读全文
posted @ 2021-08-23 10:54 哦哟这个怎么搞 阅读(144) 评论(0) 推荐(0)

2021年8月16日

摘要: 1.为什么要创建索引 用来加快访问速度,IO操作 局部性原理: 磁盘预读:数据交互的时候取出页的整数倍,每页可能4KB,8KB,innooDB每次读取16kb 2.索引应该怎么设计 3.索引采用的数据结构 4.为什么要要用B+树 5.什么是回表 6.什么是索引覆盖 7.什么是最左做匹配 8.什么是索 阅读全文
posted @ 2021-08-16 22:35 哦哟这个怎么搞 阅读(48) 评论(0) 推荐(0)

2021年8月13日

摘要: 参考 https://www.cnblogs.com/huajiezh/p/6411123.html 1.什么是范型 参数化,提高类的扩展性,及编译检查 2.范型通配符 限定修饰符:上界?extends Integer 表示可以传入 Integer的子类 下界:?super Integer 可以传入 阅读全文
posted @ 2021-08-13 18:03 哦哟这个怎么搞 阅读(36) 评论(0) 推荐(0)

摘要: public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, java.io.Serializable Serializable 这是源码里面的实现了这个接口我们就可以进行 阅读全文
posted @ 2021-08-13 17:29 哦哟这个怎么搞 阅读(39) 评论(0) 推荐(0)

2021年8月6日

摘要: 1.@controller序列化和反序列化 2.ArraryList的insert和get 3.强引用,软引用 强引用:new对象,在jvm一直可达性算法一直可达,就是oom也不会清除 软引用:,需要用java.lang.ref.SoftReference 类来实现,可当内存不足的时候才会清除 弱引 阅读全文
posted @ 2021-08-06 12:39 哦哟这个怎么搞 阅读(35) 评论(0) 推荐(0)

2021年8月4日

摘要: 类加载器 分为,应用程序加载器,扩展类加载器,根加载器,jvm自带加载器 类的加载过程为双亲委派机制:如果加载一个类,他会首先找应用程序加载器->扩展类加载器->根加载器一层一层的加载,如果有则加载没有在加载自己的,这样可以保证安全 打破双亲委派机制:自定义一个ClassLoader并重写loadC 阅读全文
posted @ 2021-08-04 07:55 哦哟这个怎么搞 阅读(28) 评论(0) 推荐(0)

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 35 下一页