i need your help in creating graphs in java language

Post your code and ask specific questions. Read the rules.

i need to construct a map
can you give me guidance on how to achieve this goal???
i was of thinking about creating graphs but is there any other way as well if not
can you help me if creating a data structure graph??/

The Java API contains documentation for the java.util.Map interface that might be handy. Have a read of it and repost if you are still unsure what to do.