_numberOfNames = numberOfNames; _names = new Vector(_numberOfNames); for (int counter = 0; counter < _numberOfNames; counter++) { _names.add("Customer number " + counter); }
int index = (int) (Math.random() * _numberOfNames); return (String) _names.get(index);
synchronized (_names) { return _names.iterator(); }