2.Now note down the location of folder where packages are installed in sublime editor. You can find the location by clicking on **Preferences > Browse Packages**.
5.To verify the package control is installed correctly, click on **Preferences > Package Control** menu item. It should open up the package control window.
3.**单击“Package Control -> sublime-package”链接,保存从包控制网站下载的文件**,并将其**放在第二步**的文件夹中。
4. 现在,**通过关闭 Sublime 编辑器**来重新启动,然后再次将其打开。
5.要验证是否正确安装了包控制,请单击“首选项 -> 程序包控件”菜单项。 它应该打开包控制窗口。
![Package Control Menu](img/6b8a6f91fdc1d0fd6a25dc5a696581ea.png)
...
...
@@ -42,9 +42,9 @@ Verify Python Autocomplete and Build
## 安装包 Python 3
## 安装 Python3 包
1.Now to install any package support, including Python package, go to **Preferences > Package Control** and choose **Install Package**.
因此,对于`s`和`t`中的任何两个字符串,当且仅当`s.equals(t)`为`true`时,`s.intern() == t.intern()`才为`true`。 意味着如果 s 和 t 都是不同的字符串对象,并且具有相同的字符序列,则在这两个变量上调用 intern()将导致两个变量引用的单个字符串池文字。
因此,对于`s`和`t`中的任何两个字符串,当且仅当`s.equals(t)`为`true`时,`s.intern() == t.intern()`才为`true`。 意味着如果 s 和 t 都是不同的字符串对象,并且具有相同的字符序列,则在这两个变量上调用 intern()将导致两个变量引用的单个字符串池文本。
*`StringBuilder` class is used to perform string concatenation operations in more memory efficient way. It internally maintains a `char array` and manipulate the content in this array only.
那么,您真的需要非常深入地了解字符串池的概念,才能回答此问题或类似问题。 我的建议..关于[字符串类和字符串池](//howtodoinjava.com/java/string/interview-stuff-about-string-class-in-java/"String pool concepts")的“认真学习”。