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