This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/nicksnyder/go-i18n/v2/i18n" | |
"golang.org/x/text/language" | |
"strings" | |
) | |
func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
/** | |
* MultiKeyHashMap provides to store values with two level hierarchy of keys, | |
* super key (K1) and sub key (K2). The objects are inserted using super and sub keys. | |
* It is not mandatory to use both keys as hierarchy, user can use two keys to store | |
* the values and use either of the key to retrieve it. |