Fork me on GitHub
BFInWR' Blog

[ Not destory me make stronger ]


  • 首页

  • 关于

  • 标签

  • 分类

  • 归档

  • 搜索

Java编程思想笔记(一)

发表于 2018-07-25 | 分类于 Java
字数统计: 2,270 | 阅读时长 ≈ 9

记录《Thinking in Java》一书的笔记

初始化与清理

this

当发送消息给对象时,编译器做了一些幕后工作。它暗自把“所操作对象的引用”作为第一个参数传递给该对象调用的方法。

1
2
FuncClass.method(funcObj1,args1);
FuncClass.method(funcObj2,args2);
  • 由于这个引用是由编译器“偷偷”传入的,所以没有标识符可用。但是,为此有个专门的关键字:this。
  • this关键字只能在方法内部使用,表示对“调用方法的那个对象”的引用。用法和对象的引用一样。但要注意如果在方法的内部调用同类的另一个方法,就不必使用this,直接调用即可,编译器会自动帮你添加。

只有当需要明确指出对当前对象的引用时,才需要使用this关键字

阅读全文 »

Markdown语法

发表于 2018-07-24 | 分类于 Markdown教程
字数统计: 606 | 阅读时长 ≈ 2
Markdown语法笔记
阅读全文 »

Hexo笔记

发表于 2018-07-16 | 分类于 Hexo教程
字数统计: 605 | 阅读时长 ≈ 2

hexo clean //清除缓存
hexo g //重新生成代码
hexo s //部署到本地

//然后打开浏览器访问 localhost:4000 查看效果

依次执行以下命令:清理 – 生成 – 部署github

1
2
3
$ hexo clean
$ hexo generate
$ hexo deploy
阅读全文 »

Hello World

发表于 2018-07-01
字数统计: 78 | 阅读时长 ≈ 1

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

博客搭建网址合集

发表于 2018-06-17 | 分类于 blog
字数统计: 68 | 阅读时长 ≈ 1

Hexo

NexT

使用Hexo+Github一步步搭建属于自己的博客(基础)

创建Git分支将Hexo博客迁移到其它电脑

Hexo博客优化加载速度

hexo的next主题个性化教程

搭建Hexo博客(Next主题)

Hexo NexT主题中集成gitalk

1…34
BFInWR

BFInWR

35 日志
13 分类
40 标签
RSS
GitHub E-Mail
© 2020 BFInWR | Site words total count: 43.5k
本站访客数: