boolean variable
常見例句
- Also notice the presence of a Boolean variable named init.
另外還要注意名為 init 的 Boolean 變量的存在。 - I set a Boolean variable, called "pass", to true—I will assume the application state is correct and examine the state, setting pass to false if anything is wrong.
我設(shè)置了一個(gè)名為“pass”的布爾變量,將其設(shè)為 true — 我假設(shè)應(yīng)用程序的狀態(tài)是正確的并檢查該狀態(tài),如果有某個(gè)地方出錯(cuò),則將 pass 設(shè)為 false。 - The constructor for the SelectionListener implementation accepts a Boolean variable that defines whether the tree items are to be expanded or collapsed, depending on which button is selected.
SelectionListener 實(shí)現(xiàn)的構(gòu)造函數(shù)接受一個(gè)布爾變量,該變量定義要展開還是折疊樹項(xiàng)目,具體取決于選中了哪個(gè)按鈕。 返回 boolean variable