A Java object that keeps track of integers