This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Which Integer32 are you refering to? Bsically an 'Integer' is one of the Java wrappers for the primitive types (included in java.lang with Double, Boolean etc) Integer32 is not, it's built and provided by someone else. Dave
That Integer32 is a mutable wrapper class for an integer value, whereas java.lang.Integer is not mutable. The value contained in Integer32 can be changed after it is created. The value in Integer cannot be change after it is created. The latter is safer, in that if two classes hold a reference to an Integer object, there is no way that one of the classes can change the value it represents and confuse the other. Another unusual thing about this Integer32 is that it has a BER encoding method, which they must be using when they generate SNMP protocol data units. Indeed, this seems to be one of the major goals of the Integer32 class. We cannot see all the features of Integer32 because the link to the documentation for the class it extends is not visible. (BER is a tagged, varying-length data representation designed for data communications. However, when communicating between Java apps, you would likely use Java serialization instead.)
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com