import com.github.andrewoma.dexx.collection.HashMap;
public class DexxCollectionsExample {
public static void main(String[] args) {
HashMap<String, Integer> map = new HashMap<>();
map = map.put("key1", 1);
map = map.put("key2", 2);
int value = map.get("key1");
System.out.println("Value: " + value);
}
}
<dependency>
<groupId>com.github.andrewoma.dexx</groupId>
<artifactId>dexx-collections</artifactId>
<version>0.7.0</version>
</dependency>