compareto信息详情

compareto发音

意思翻译

相比

相似词语短语

culex pipiens complex───库蚊复合物

compote bowls───果盘

compote dish───果盘

by comparison───相比之下,比较起来;(与...)相比较

compatible astrology───相容占星术

complacency in recovery───恢复中的自满

compendious define───简明定义

compared synonym───比较同义词

companionable roofline───可伴行屋顶线

certes company───某些同伴

双语使用场景

erasure is that a class cannot implement both Comparable and Comparable, because both of these are in fact the same interface, specifying the same compareTo() method. ───擦除意味着一个类不能同时实现 Comparable和 Comparable,因为事实上两者都在同一个接口中,指定同一个 compareTo()方法。

Defines a co-variant version of the equals() or compareTo() method.───定义一个 co-variant 版本的 equals() 或 compareTo() 方法。

As you can see, we're simply taking $a and calling the CompareTo method, passing the second string ($b) as the sole method parameter.───如你所见,我们简单的使用$a及调用CompareTo方法,并传递第二个字符串($b),作为方法参数。

Use the CompareTo method to determine the ordering of instances of a class.───使用CompareTo方法可确定类的实例的排序。

The String. CompareTo method compares the string that the current string object encapsulates to another string or object.───String.CompareTo方法将当前字符串对象封装的字符串与另一个字符串或对象进行比较。

The Temperature object implements CompareTo by simply wrapping a call to the CompareTo method.───Temperature对象只需对CompareTo方法的调用进行简单包装即可实现CompareTo。

If CompareTo returns a 0, that means the two strings are equal; anything other than a 0 means that the two strings are different.───如果CompareTo返回0,那意味着两个字符串相等。

The following example uses the String. CompareTo method to perform a comparison of string1 and string2.───下面的示例使用String.CompareTo方法对string1与string2进行比较。

英语使用场景

As you can see, we're simply taking $a and calling the CompareTo method, passing the second string ($b) as the sole method parameter.