Using bit tests, you can easily test for specific flags on a flag variable.
使用位测试,可以容易地测试标志变量上的特定标志。
After loading the Properties object, you close the input stream, and then set your Boolean flag variable (init) value to true, demarcating that the AddressStore object has been initialized.
在加载properties对象之后,关闭输入流,然后设置布尔型标志变量(init)值为true,确定AddressStore对象已经被初始化。
应用推荐