@Override
        public int hashCode()
        {
            final int prime = 31;
            int result = 1;
            result = prime * result
                    + ((departments == null) ? 0 : departments.hashCode());
            result = prime * result + id;
            result = prime * result + ((tasks == null) ? 0 : tasks.hashCode());
            return result;
        }
@param tasks
           the tasks to set
protostuff-runtime/src/test/java/io/protostuff/runtime/CollectionTest.java