函数式编程 - Stream流
概述为什么学 能够看懂公司里的代码 大数量下处理集合效率高 代码可读性高 消灭嵌套地狱 12345678910111213141516171819202122// 查询未成年作家的评分在70以上的书籍,受网络影响可能出现重复数据,需去重List<Book> bookList = new ArrayList<>();Set<Book> uniqueBookValues = new HashSet<>();Set<Author> uniqueAuthorValues = new HashSet<>();// It drives me mad ! :(for (Author author : authors) { if (uniqueAuthorValues.add(author)) { if (author.getAge() < 18) { List<Book> books = author.getBooks(); ...
基本初等函数导数公式的推导
利用导函数的定义,对基本初等函数的导数进行推导,借此加强记忆与理解。ΔΔΔ 定义式:$ f’(x)=\lim\limits_{Δx \to 0}\frac{f(x+Δx)-f(x)}{Δx} $ 常函数函数:$ y = C $ 导数:$ y’ = (C)’=0 $ 推导过程:$$\begin{align*}\label{…}\begin{split}y’ =& \lim\limits_{\Delta x \to 0}\frac{f(x+\Delta x)-f(x)}{\Delta x}\=& \lim_{\Delta x \to 0}\frac{C-C}{\Delta x}\=& \ 0\end{split}\end{align*}$$ 幂函数函数:$ y=x^α $ 导数:$ y’=(x^α)’=\alpha x^{\alpha -1} $ 推导过程:$$\begin{align*}\begin{split}y’ =& \lim_{...
英语作文中常用的高级表达
总结了一些较新鲜的表达,可用于英语作文中。 停止,阻止 bring … to a halt 例句:My inability to concentrate maintain a steady focus brings my progress to a halt. come to a halt 例句:Her political career came to a halt in December 1988. 阻碍 bog down 例句:Being open to this changing environment is a good thing, but it can bog you down. pin down obstruct 例句:These all obstructed the development of the economy in China. hinder 例句:Such interruptions will only hinder our reaching a solution. hamper 上升,(数量)增加 on the rise 例...








