79559623

Date: 2025-04-07 10:32:29
Score: 0.5
Natty:
Report link

See Code and Example in My Repository : Bhansali's Shell Maps

It has 2 Libraries Created for Shell :
1. Map ( Map.h )
2. Ordered Map ( Ordered_Map.h )

Example.sh shows usage where I am Importing it like we do in C++/Java

It has at least Following functionalities :

  1. Creating Map/Ordered Map

  2. Putting Values in It Manually By Using Put Method ( map.put Key Value )

  3. Getting Values Back ( map.get Key Value )

  4. Remove Values from Map ( map.remove Key )

  5. Display Entire Map By Iterating it on All Indices

  6. Displaying All Keys

  7. Clearing Map ( Make it Empty )

  8. Populating it with a Properties File ( map.populate Hamari.properties )

  9. Get Value By Index, If it is OrderedMap ( map.getByIndex Index )

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: BHANSALI MUKESH