假定我们拥有一个字符串列表,并且想要知道某个特定的字符串是否包含在那个列表中。
Suppose we have a list of strings and want to see whether a certain string is contained in that list.
这样,我可以让它们作为散列的键、将要被检索的字符串列表,等等。
Thus, I can use them as hash keys, lists of strings to be searched, etc.
由多行组成的栈和流给您一个简单的字符串列表或者数组。
Having stacks and streams composed of lines gives you a simple list or array of strings.
应用推荐