That is different from what you told us earlier. Please explain.
I want to encapsulate each name with the number of times it appeared in the file, so i created a class just for the names.
I'm sorry! I don't know what is different from earlier. I told you guys i want to read the numbers and names. I would like to count how many times some name appears in the file. I almost solved my problem, but i have another one. When i read two names that are equal, my program say they are different! I tried to call "getBytes()" and he shows me two different things, but the names in the file are the same! If in this case i have to create another topic, please tell me.
Please, consider this class Names, instead of my first one, in my original post. I decided change her a little bit.