1. 在 Java 8 之前,接口只能有抽象方法。这些方法的实现必须在单独的类中提供。因此,如果要在接口中添加新方法,则必须在实现同一接口的类中提供其实现代码。为了克服这个问题,Java 8 引入了默认方法(default method)的概念,该方法允许接口具有实现的方法,而不会影响实现接口的类。 // A simple program to Test Interface default // methods in java interface TestInterface { ...

    阅读全文
  2. selenium支持多语言:java, python, c#, javascript..,所以我选择python来学习。 mac自带了python 2.7.10。 如果没有安装pip的话,可以通过下面的命令安装pip。 curl https://bootstrap.pypa.io/get-pip.py | python pip安装selenium pip install -U selenium 下载webDriver: https://www.se ...

    阅读全文
  3. Present perfect 描述已经发生的,但是发生时间不重要的行为动词,需使用现在完成时。   例如: I have been to New England.   (我去过新英格兰了。) 这一时态经常与副词 ever, never, yet, still, always, already 等连用。 例如: I have neve ...

    阅读全文
  4. 面向方面的编程需要把程序逻辑分解成不同的部分称为所谓的关注点。跨一个应用程序的多个点的功能被称为横切关注点,这些横切关注点在概念上独立于应用程序的业务逻辑。有各种各样的常见的很好的方面的例子,如日志记录、审计、声明式事务、安全性和缓存等。 在 OOP 中,关键单元模块度是类,而在 AOP 中单元模块度是方面。 依赖注入帮助你对应用程序对象相互解耦和 AOP 可以帮助你从它们所影响的对象中对横切关注点解耦。AOP 是像编程语言的触发物,如 Perl,.NET,Java 或者其他。 ...

    阅读全文
  5. 本文记录Spring学习过程中觉得不错的学习资料和经验分享文章。本文不断更新。。 学习前需要了解的Knowledge Path Servlet Java annotation -> Lombok Spring framework(Core) -> SpringMVC -> SpringBoot ->Maven -> MyBatis -> SpringCloud    学习资料: 源码 S ...

    阅读全文
  6. Phrasal verbs Phrasal verbs - 动词词组 某些动词与特定的介词相搭配,就会具有完全不同于动词本意的新意思。这些动词和介词的组合就叫做动词词组。   例如: I ran for two hours last night.   (我昨天晚上跑了两个小时。)   I ran into a friend last night. ...

    阅读全文
  7. https://docs.oracle.com/middleware/1221/wls/WLACH/taskhelp/domainconfig/EnableTheDomainwideAdministrationPort.html#WLACH01108   Before you begin The administration port accepts only secure, SSL traffic, and all connections via the p ...

    阅读全文
  8. # 下载到/var/www/php5目录下 cd /var/www/php5 wget http://mirrors.sohu.com/php/php-5.5.7.tar.gz # 解压 tar zxvf php-5.5.7.tar.gz # 进入PHP的openssl扩展模块目录 cd php-5.5.7/ext/openssl/ /var/www/php5/bin/phpize # 这里为你自己的phpize路径,如果找不到,使用whereis ...

    阅读全文
  9. Word order 英语中的正常语序为: 主语 + 谓语动词 + 宾语 + 地点状语 + 时间状语 在疑问句中,语序一般为: (疑问词 +)助动词 + 主语 + 行为动词 + 宾语 + 地点状语 + 时间状语 例如: I like ice-cream. (我喜欢冰淇淋。) What do you like to do after work? (你下班以后想去干什么?) 与 perhaps 和 probably 相关的语序 与 too 和 enoug ...

    阅读全文
  10. 下面三个命令都可以查看linux操作系统的版本信息 cat /etc/os-release lsb_release -a hostnamectl cat /etc/os-release [test@test01 ~]$ cat /etc/os-release NAME="Oracle Linux Server" VERSION="7.4" ID="ol" VERSION_ID=" ...

    阅读全文
  11. Simple present 一般现在时态用于描述客观事实或经常、反复发生的行为。在进行提问或否定时,需要用到助动词 do,或 does, don't, doesn't 等。   例如: She lives in New York.   (她住在纽约。)   Does she work in a bank? &nb ...

    阅读全文
  12. Past tenses Past tenses - 过去时态 对于过去发生,并且已经结束的动作或行为,需要使用一般过去时态。与该时态连用的时间状语包括:yesterday, last night, last year, a long time ago, 1990 等。   例如: I watched a movie last night. 过去进行时态用来表达,在过去某一时刻,一个动作发生时,另一个动作正在 ...

    阅读全文
  13. Wiring Components to Work Together This chapter describes service tables and how to wire particular Oracle Fusion Middleware components together. It contains the following sections: Understanding Service Tables Viewing Service ...

    阅读全文
  14. AngularJS 通过新的属性和表达式扩展了 HTML。AngularJS 可以构建一个单一页面应用程序(SPAs:Single Page Applications)。 AngularJS是采用了MVVM架构。 The following is the list of allowed and forbidden dependencies: 1.The View's code behind should not reference the ViewModel ...

    阅读全文
  15. Publish Assets to SOAP Documentation This chapter describes how to upload assets, such as web services, to SOAP reference guides. This chapter also how to find and review assets already in. The chapter includes these sections: Introd ...

    阅读全文
  16. 本文摘自https://blog.csdn.net/cuibo1123/article/details/25204387   软件项目一般包括解决方案、开发、维护、系统集成等。以下将分别介绍软件开发价格、软件(系统)维护价格、系统集成价格、系统解决方案费用的价格估算方法,以供大家参考。   1.软件开发价格估算方法    软件开发价格与工作量、商务成本、国家税收和企业利润等项有关。为了便于计算,给出一个计算公式: ...

    阅读全文
  17. 官方文档 https://docs.oracle.com/cd/E29542_01/dev.1111/e10224/obe_intro.htm#SOASE004 This chapter describes how to subscribe to or publish business events from Oracle Mediator or a BPEL process in a SOA composite application. Business events are publi ...

    阅读全文
  18. 本文是学习springmvc官方文档的学习摘要。 https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc-servlet   知识点 1) DispatcherServlet DispatcherServlet WebApplicationInitializer AbstractAnnotationConfig ...

    阅读全文
  19. React的虚拟的DOM的原理是什么?是怎么实现的? 本文摘自 https://www.zhihu.com/question/29504639 链接:https://www.zhihu.com/question/29504639/answer/73607810   深度剖析:如何实现一个 Virtual DOM 算法 · Issue #13 · livoras/blog · GitHub   ...

    阅读全文