青年中文青年中文

case class的意思

case class中文翻譯:

情態集

相似詞語短語

case laws───[法]判例法

base clauses───基本條款

cattle class───牛類

master class───高級講習班;由大師主講的講習班

asset class───資產類別;資產種類

base clause───基本子句

cabin class───二等艙;特別二等艙(在一二等艙中間)

cameo glass───[玻璃]寶石玻璃(多層套色并具有浮雕的玻璃器皿);浮雕玻璃

coach class───經濟艙(等于economyclass)

雙語使用場景

We see that UnitsSystem is a sealed case class with no attributes.───我們看到,UnitsSystem是一個密封的case類,沒有屬性。

Here is the generated test case class for our simple example.───下面是我們的簡單示例所生成的測試用例類。

Measurement is a case class.───Measurement 是一個 case 類。

As you can see, lots of things happened with a case class that don't normally happen for a traditional class.───如您所見,伴隨case類發生了很多傳統類通常不會引發的事情。

For now, it will suffice to say that a case class allows for very terse construction of simple objects with some pre-defined methods.───現在,我們只需要知道,一個case類允許精煉的簡單對象的構造,以及一些預定義的方法。

In this case, the exponentiation operator is another form of binary operator so the existing BinaryOp case class serves.───在本例中,求冪運算符是另一種形式的二進制運算符,所以使用現有BinaryOpcase類就可以。

Our pattern match then looks for Alice and Bob by inspecting the values passed to the constructor of the Person case class.───然后,我們的模式匹配通過檢查傳入的Personcase類的值來查找Alice和Bob。

Each individual test is output as a method within its corresponding test case class.───每一個獨立的測試都會導出成它對應的測試用例類中的方法。

So, in other words, to use my strategy, simply write one test case class, and then always deploy to both the client and the server.───所以,換句話說,要使用我的策略,只需編寫一個測試案例類,然后總是將其部署到客戶機和服務器就可以了。

英語使用場景

Our pattern match then looks for Alice and Bob by inspecting the values passed to the constructor of the Person case class.

In this case, the exponentiation operator is another form of binary operator so the existing BinaryOp case class serves.

This paper mainly studies the second case class of trust region subproblems involving conic model.