摘要
讨论了位运算对对象状态标记的应用,给出了对象双值状态和多值状态的设置与判别方法。在面向对象技术中,通过位运算可以实现对数据冗余的封装,它的应用不但保证了数据的一致性,而且有利于系统的维护与扩充。
This paper discusses the application of flagging current object status with the bit-operation and gives the expressing approach on how to set and judge the status that has two or more status. In the Oriented-Object technique, bit operation can be used as the encapsulation of the data redundancy. The application not only assures the consistency of data, but also is propitious to maintenance and expansion of the system.;
出处
《浙江科技学院学报》
CAS
2003年第4期228-231,235,共5页
Journal of Zhejiang University of Science and Technology