protected static class

AbstractResource.SimpleEntry

extends Object
implements AbstractResource.ResourceEntry
java.lang.Object
   ↳ com.google.gwt.i18n.rebind.AbstractResource.SimpleEntry

Class Overview

A simple resource entry with no alternate forms, only a key and a value.

Summary

Public Constructors
AbstractResource.SimpleEntry(String key, String value)
Public Methods
boolean equals(Object obj)
String getForm(String form)
Retrieve a particular form for this entry.
Collection<String> getForms()
Returns a list of forms associated with this entry.
String getKey()
Returns key for this entry (must not be null).
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.i18n.rebind.AbstractResource.ResourceEntry

Public Constructors

public AbstractResource.SimpleEntry (String key, String value)

Public Methods

public boolean equals (Object obj)

public String getForm (String form)

Retrieve a particular form for this entry.

Parameters
form form to retrieve (null for the default)
Returns
  • null if the requested form is not present

public Collection<String> getForms ()

Returns a list of forms associated with this entry. The default form (also the only form for anything other than messages with plural support) is always available and not present in this list.

public String getKey ()

Returns key for this entry (must not be null).

public int hashCode ()