Skip to main content
added 43 characters in body
Source Link
Ludisposed
  • 11.8k
  • 2
  • 41
  • 91

I am not a JavaJavascript programmer, so I will try my best how to explain to use a dictionary. A dictionary means you can add a value to a key

Example from dotnet perls

# Creations of a dictionary
Map<String, int>var dictionary = new HashMap<String, int>({"Corporation":534,"LLC":535,"LLP":536,"Partnership":537,"Sole Proprietorship":538,"Limited Partnership":539)};

# Getting values of dictionary
new_inputFive = dictionary.get(inputfive)dictionary[inputfive]

# For instance when inputfive="LLC" new_inputFive = 535

I am not a Java programmer, so I will try my best how to explain to use a dictionary. A dictionary means you can add a value to a key

# Creations of a dictionary
Map<String, int> dictionary = new HashMap<String, int>("Corporation":534,"LLC":535,"LLP":536,"Partnership":537,"Sole Proprietorship":538,"Limited Partnership":539);

# Getting values of dictionary
new_inputFive = dictionary.get(inputfive)

# For instance when inputfive="LLC" new_inputFive = 535

I am not a Javascript programmer, so I will try my best how to explain to use a dictionary. A dictionary means you can add a value to a key

Example from dotnet perls

# Creations of a dictionary
var dictionary = {"Corporation":534,"LLC":535,"LLP":536,"Partnership":537,"Sole Proprietorship":538,"Limited Partnership":539};

# Getting values of dictionary
new_inputFive = dictionary[inputfive]

# For instance when inputfive="LLC" new_inputFive = 535
Source Link
Ludisposed
  • 11.8k
  • 2
  • 41
  • 91

I am not a Java programmer, so I will try my best how to explain to use a dictionary. A dictionary means you can add a value to a key

# Creations of a dictionary
Map<String, int> dictionary = new HashMap<String, int>("Corporation":534,"LLC":535,"LLP":536,"Partnership":537,"Sole Proprietorship":538,"Limited Partnership":539);

# Getting values of dictionary
new_inputFive = dictionary.get(inputfive)

# For instance when inputfive="LLC" new_inputFive = 535