AI2 Component
(Version nb184)
Maps.java
Go to the documentation of this file.
1
// -*- mode: java; c-basic-offset: 2; -*-
2
// Copyright 2009-2011 Google, All Rights reserved
3
// Copyright 2011-2012 MIT, All rights reserved
4
// Released under the Apache License, Version 2.0
5
// http://www.apache.org/licenses/LICENSE-2.0
6
7
package
com.google.appinventor.components.runtime.collect;
8
9
import
java.util.HashMap;
10
import
java.util.TreeMap;
11
19
public
class
Maps
{
25
public
static <K, V> HashMap<K, V>
newHashMap
() {
26
return
new
HashMap<K, V>();
27
}
28
34
public
static <K, V> TreeMap<K, V>
newTreeMap
() {
35
return
new
TreeMap<K, V>();
36
}
37
}
com.google.appinventor.components.runtime.collect.Maps
Definition:
Maps.java:19
com.google.appinventor.components.runtime.collect.Maps.newHashMap
static< K, V > HashMap< K, V > newHashMap()
Definition:
Maps.java:25
com.google.appinventor.components.runtime.collect.Maps.newTreeMap
static< K, V > TreeMap< K, V > newTreeMap()
Definition:
Maps.java:34
com
google
appinventor
components
runtime
collect
Maps.java
Generated by
1.8.16