Specifications
nPostconditions and class invariants are part of class specification but not the implementation.  Therefore they should be included in comments but not in the implementation.
n/**
n * Current count;the number of items
n * counted.
n * ensure:
n * count >= 0
n */
n public int count () { … }