August 1st, 2012, 01:20 PM
How to use Pair in Java and implementation
I am trying to work on this problem but really failing understand it properly, I mean I understood the concept but having trouble knowing how to apply it.
Basically I need to read senstences using character reader and then find output the how many times each words has occured in the sentece or sentences
Here is the code:
Now I have to implement the code in the class ReadOne but don't know how to do it.
public class ReadOne
public Collection<Pair<String, Integer>> getAnswer(CharacterReader charac) throws EOFException
throw new UnsupportedOperationException( "No implementation Found" );
I hope someone can provide some help
Last edited by cpu2007; August 9th, 2012 at 12:25 PM.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.