public class

ConstantMap

extends AbstractMap<K, V>
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ com.google.gwt.i18n.client.impl.ConstantMap

Class Overview

Map used when creating Constants maps. This class is to be used only by the GWT code. The map is immediately wrapped in Collections.unmodifiableMap(..) preventing any changes after construction.

Summary

Public Constructors
ConstantMap(String[] keys, String[] values)
Public Methods
boolean containsKey(Object key)
Set<Entry<StringString>> entrySet()
String get(String key)
String get(Object key)
Set<String> keySet()
int size()
Protected Methods
void init()
Overridable for testing purposes, see ConstantMapTest.
void putImpl(String key, String value)
[Expand]
Inherited Methods
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Public Constructors

public ConstantMap (String[] keys, String[] values)

Public Methods

public boolean containsKey (Object key)

public Set<Entry<StringString>> entrySet ()

public String get (String key)

public String get (Object key)

public Set<String> keySet ()

public int size ()

Protected Methods

protected void init ()

Overridable for testing purposes, see ConstantMapTest.

protected void putImpl (String key, String value)