For what it's worth, this sure does sound like a job for an array or a List.