To avoid this problem, complex attributes should be initialized in the constructor; however, this is not necessary for simple attributes such as strings, booleans, and so on.
为了避免这个问题,应当在构造函数中初始化复杂属性;然而,对于字符串、布尔值等简单属性则不需要这样做。
One problem I've seen with applications is when engineers attempt to use a database as though it were a programming language, creating arrays by using text strings with comma-separated identifiers.
我在应用程序中看到的一个问题是,工程师试图将数据库当作编程语言来使用,即通过使用具有逗号分隔的标识符的文本字符串来创建数组。
Now, if you have to include one or several Unicode-encoded scripts in UNIX locales, you face a problem: POSIX locales and, by extension, Linux strings, are always encoded using 8-bit bytes.
现在,如果必须在UNIXlocale中添加一个或者几个Unicode编码的脚本,那么您会面临一个问题:POSIX locale和扩展的Linux字符串一直是使用8位字节编码的。
Poorer countries see the cash as no-strings compensation for a problem that is not of their making.
而穷国则将其看做无条件的补偿,因为这些问题本就不是他们造成的。
The single string test proved no problem, but unlike dogs (which Osthaus has previously tested) no cat consistently chose correctly between two parallel strings.
一条绳子的情况下没有问题。但是与狗不同(奥斯陶斯之前给狗做过实验),没有猫能够一直在两条平行的绳子里选择正确。
The performance hit may be unnoticeable when trimming short strings, but with long strings that contain many words, this regex can become a performance problem.
修剪短字符串时性能冲击并不明显,但处理包含多个词的长字符串时,这个正则表达式可以成为一个性能问题。
Problem: You have a very large array of strings. You have another string and need to know if it is already in the list.
问题:你有一个很大的字符串数组,同时,你另外还有一个字符串,需要知道这个字符串是否已经存在于字符串数组中。
Variable-length chromosomes (routing strings) and their genes(nodes) have been used for encoding the problem.
该算法采用可变长度染色体(路由串)和它的基因(节点)应用于编码问题。
Those CARDS that are most often seen as being a cause (have the most tape or strings attached) are more likely to be the root cause of your problem.
那些卡片最经常被看作为起因(有很多绳子)最可能是问题的根源。
The solution to this problem is to normalize each string, then use an ordinal comparison to sort the strings.
对于此问题的解决方法是对每个字符串进行正常化,然后使用序号比较对字符串进行排序。
During Chinese information processing, judging which word strings should be in participle list is always a difficult problem.
中文信息处理中,判断哪些词串该入选《分词词表》一直是一个难题。
Your problem is because you are defining an array of chars, not an array of arrays of chars (i. e. strings).
你的问题是因为你定义一个字符数组,而不是一个字符数组的数组(如字符串)。
All strings in this problem (both encrypted and decrypted ones) will consist of only uppercase English letters (' a '-' Z ').
问题中的所有字符串(编码与解码字符串都是)只包含大写英文字母('A '- 'Z ')。
There was only one problem: long strings ran through the length of the stalk, and they got caught in my teeth.
只有一个问题需要解决:芹菜里面有长长的细丝,塞在我的牙缝里。
The problem of eccentric wear of tubing and rod strings in rod pumped Wells is very severity in recent years, and led to service frequently, pump inspection period shorten and service cost enhanced.
近年来抽油机井管、杆之间的偏磨问题十分突出,导致作业频繁,检泵周期短,作业成本增加。
Consider "the Two-String Problem". Two widely separated strings hang from a ceiling.
让我们来看“双线问题”:两根不同的绳子吊在天花板上。
The problem is that two strings can be equal, even if their lengths aren't equal!
两个长度不一样的字符串有可能是相等的。
The problem is that two strings can be equal, even if their lengths aren't equal!
两个长度不一样的字符串有可能是相等的。
应用推荐