Yes it is ideal to do as a private inner class (probably static too)