@Override
        public int hashCode()
        {
            final int prime = 31;
            int result = 1;
            result = prime * result + id;
            result = prime * result + ((ip == null) ? 0 : ip.hashCode());
            result = prime * result + ((name == null) ? 0 : name.hashCode());
            result = prime * result + ((uuid == null) ? 0 : uuid.hashCode());
            return result;
        }
Test ser/deser for immutable objects.

@author David Yu
@created Feb 7, 2011
protostuff-runtime/src/test/java/io/protostuff/runtime/ImmutableObjectsTest.java