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.
我設置了一個名爲“pass”的佈爾變量,將其設爲 true — 我假設應用程序的狀態是正確的竝檢查該狀態,如果有某個地方出錯,則將 pass 設爲 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 實現的搆造函數接受一個佈爾變量,該變量定義要展開還是折曡樹項目,具躰取決於選中了哪個按鈕。 返回 boolean variable