STRING OBJECT 中文是什么意思 - 中文翻译

[striŋ 'ɒbdʒikt]
[striŋ 'ɒbdʒikt]
string对象
一个string对象
的字符串对象

在 英语 中使用 String object 的示例及其翻译为 中文

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
String object as its parameter.
String对象作为其参数。
Executable is probably a string object.
Executable可能是字符串对象
Let's apply dir() to a string object and see what Python returns.
让我们将dir()应用于字符串对象,并观察Python返回什么。
The variable“s2” is pointing to this string object.
变量“s2”也指向了这一字符串对象
Starting from Java 7 update 6, each String object has its own private underlying char[].
从Java7update6开始,每个String对象都有自己私有的底层char[]。
In particular f3() cannot change the caller's std::string object.
特别说明一点,f3()无法改变调用者std::string对象
This creates a String object with the name my_str and gives it a value of"This is my string.".
这将创建一个名为my_str的String对象,并为其赋予值Thisismystring.。
That's because Java loves to create String objects all over the place.
这是因为Java总是喜欢到处创建String对象
Returns a Unicode character array with all the characters in the current string object.
返回一个带有当前string对象中所有字符的Unicode字符数组。
In this example, Python only created one string object, and both a and b refer to it.
在这个例子中,Python仅生成了一个字符串对象,a和b都指向它。
In this example, the script engine's put()method is used to set the variable x to a String object hello.
本例中脚本引擎的put()方法用来设置x变量值为“hello”字符串对象
The compiler sees you trying to add a String object("source=") to a WaterSource.
编译器会发现我们试图向一个WaterSource添加一个String对象("source=")。
Therefore, two String objects return the same hash code if they represent the same string value.
因此,如果两个String对象表示相同的字符串值,则它们返回相同的哈希代码。
This means that the addUser() method returns one java/lang/String object as a parameter.
这代表addUser()方法返回了一个java/lang/String对象作为参数。
Because the String object that was created in the second line is destroyed by the time the third line is executed.
问题的原因就是第二行创建的String对象在执行第三行代码时已经被销毁了。
As with any other object, you can create String objects by using the new keyword and a constructor.
和任何其他对象一样,你可以使用new关键字和一个构造函数来创建String对象
The following sketch and explanation will make it clear what an object is andhow the String object is used.
下面的草图和说明将清楚说明对象是什么以及如何使用String对象
And a helper class that manipulates and formats String objects without creating intermediate instances of String..
以及在不创建String中间实例的情况下操作和格式化String对象的帮助器类。
Note that we pass the parameter that by value,so that has to be initialized just like any other string object.
请注意,我们传递参数that按价值所以that必须像任何其他字符串对象一样初始化。
A string object that can have zero or more values, each of which must be chosen from the list of values'value1','value2',….
一个能有零个或更多个值的字符串对象,其中每个值必须选自值列'value1'、'value2'、…。
We will be making use of these two functions toclean Place of Publication since this column has string objects.
我们将使用这两个方程来清洗PlaceofPublication由于这列有字符串对象
This new string object is also referenced in the array characters at the offset 97 because value of‘a' is 97 in ASCII.
在数组“characters”中,这一新的字符串对象在偏移量为97的位置被引用,因为字符‘a'的ASCII码值便是97。
To perform operations on it, such as checking its length,accessing its individual character contents, etc, a String object is required.
为了对它进行操作,比如检查它的长度,访问它的各个独立字符内容等等,都需要一个String对象
A later operation on the String object might see the correct offset of 4, so that the String object is perceived as being"/usr".
之后的一个操作可能会看到这个String对象的正确的offset值4,那么会得到“/usr”。
The String class has an equivalent class method, format(),that returns a String object rather than a PrintStream object..
String类有一个等效的类方法format(),它返回一个String对象而不是一个PrintStream对象。
A String object has a variety of methods: for example those that return a variation on the string itself, such as substring and toUpperCase.
String对象有许多方法:举例来说有些方法返回字符串本身的变体,如substring和toUpperCase.
In the following example, the String constructor is specified,and eval returns a String object rather than evaluating the string..
在下面的例子中,String构造器被指定,而eval()返回了String对象而不是执行字符串。
The String object contains functions(which are called"methods" in object oriented programming(OOP)) which operate on the string data contained in the String object.
String对象包含函数(在面向对象编程(OOP)中称为“方法”),它们对String对象中包含的字符串数据进行操作。
Whenever it encounters a string literal in your code,the compiler creates a String object with its value in this case,"Hello world!'!
无论何时在代码中遇到字符串文字,编译器都会创建一个带有值的String对象-在这种情况下,Helloworld!
The lack of const in these functions tells the compiler that they are allowed to(but are not required to)change the caller's std::string object.
这些函数中未指定const,因此,它向编译器表明,要允许它们(但不要求它们一定这么做)改变调用者std::string对象
结果: 315, 时间: 0.0293

单词翻译

顶级字典查询

英语 - 中文