青年中文青年中文

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.