Hi all, I have question, I want to develop a programme about extend the hashmap to add putchildren method.. I wrote main class, but now I want to write putChildrenValue method.. My question is : I need to implement a putChildrenValue method with 3 parameters, String key, String key, ObjectValue. It will store the system as described above accordingly.
When I finished this method When you finish the method data
Key1 = "RUBY" value=HashMap which has -> "key2" = 5248 && "VALUE" = German
Key1 = "PYTHON" value=HashMap which has -> "key2" = 1234 && -> "VALUE" = German
My main class is :
public static void main(String [] args)
{
ExtendedHashMap extendedMap = new ExtendedHashMap();
extendedMap.put (“Row1”, “Column1”, “German”);
extendedMap.put (“Row1”, “Column2”, “English”);
extendedMap.put (“Row1”, “Column3”, “Spanish”);
extendedMap.put (“Row2”, “Column1”, “Ruby”);
extendedMap.put (“Row2”, “Column2”, “Python”);
extendedMap.put (“Row3”, “Column3”, “Java”);
}
Can anyone help me?