new Integer(annotationCount.intValue()+1);
new Long(annotationCount.longValue()+1);
    public void setAnnotations(Set newValue)     {        Set currentValue = getAnnotations();         SetMutator m = new SetMutator(currentValue, newValue);                while (m.moreDeletions()) {            setDirty(true);            asDataset().removeDatasetAnnotation(                        m.nextDeletion().asDatasetAnnotation());            annotationCount = annotationCount == null ? null :                new Integer(annotationCount.intValue()-1);        }                while (m.moreAdditions()) {            setDirty(true);            asDataset().removeDatasetAnnotation(                        m.nextAddition().asDatasetAnnotation());            annotationCount = annotationCount == null ? null :                new Integer(annotationCount.intValue()+1);        }        annotations = m.result();    }