| Package | Description |
|---|---|
| com.force.i18n.grammar.parser | |
| com.force.i18n.settings |
| Modifier and Type | Method and Description |
|---|---|
protected SharedKeyMap<String,SharedKeyMap<String,Object>> |
GrammaticalLabelSetLoader.getSeedKeyMap() |
| Modifier and Type | Method and Description |
|---|---|
protected SharedKeyMap<String,SharedKeyMap<String,Object>> |
GrammaticalLabelSetLoader.getSeedKeyMap() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> List<SharedKeyMap<K,V>> |
SharedKeyMap.createEmptySharedKeyMaps(int numberOfMaps)
Creates a list of empty SharedKeyMaps that all share a single (empty) key map.
|
static <K,V> List<SharedKeyMap<K,V>> |
SharedKeyMap.createEmptySharedKeyMaps(int numberOfMaps,
SharedKeyMap<K,V> map)
Creates a list of empty SharedKeyMaps that all use the key map of the specified SharedKeyMap.
|
static <K,V> List<SharedKeyMap<K,V>> |
SharedKeyMap.createEmptySharedKeyMaps(List<K> keys,
int numberOfMaps)
Creates a list of empty SharedKeyMaps that all use the specified keys.
|
static <K,V> List<SharedKeyMap<K,V>> |
SharedKeyMap.createSharedKeyMaps(List<Map<K,V>> maps)
Takes a list of Maps and returns a list of SharedKeyMaps with the same mappings and values.
|
static <K,V> List<SharedKeyMap<K,V>> |
SharedKeyMap.createSharedKeyMaps(List<Map<K,V>> maps,
boolean removeFromList)
Takes a list of Maps and returns a list of SharedKeyMaps with the same mappings and values.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasePropertyFile.attachSharedKeyMap(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap)
Allows for some implementations to save a great deal of memory by sharing
maps across various language versions of the "same" properties/labels.
|
static <K,V> List<SharedKeyMap<K,V>> |
SharedKeyMap.createEmptySharedKeyMaps(int numberOfMaps,
SharedKeyMap<K,V> map)
Creates a list of empty SharedKeyMaps that all use the key map of the specified SharedKeyMap.
|
void |
SkinnyMapPropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap) |
void |
SharedKeyMapPropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap) |
void |
PropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap)
If this implementation supports sharing of section and parameter names,
then this should allow a non-shared representation to "hop" onto the sharing bandwagon.
|
void |
MapPropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap)
No-op.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasePropertyFile.attachSharedKeyMap(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap)
Allows for some implementations to save a great deal of memory by sharing
maps across various language versions of the "same" properties/labels.
|
void |
SkinnyMapPropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap) |
void |
SharedKeyMapPropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap) |
void |
PropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap)
If this implementation supports sharing of section and parameter names,
then this should allow a non-shared representation to "hop" onto the sharing bandwagon.
|
void |
MapPropertyFileData.shareKeys(SharedKeyMap<String,SharedKeyMap<String,Object>> seedKeyMap)
No-op.
|
| Constructor and Description |
|---|
SharedKeyMap(SharedKeyMap<K,? extends V> map)
Creates a new shared key map that shares the keymap of map.
|
SharedKeyMapPropertyFileData(Locale locale,
boolean isPrimary,
SharedKeyMap<String,SharedKeyMap<String,Object>> seed,
Set<String> publicSections) |
| Constructor and Description |
|---|
SharedKeyMapPropertyFileData(Locale locale,
boolean isPrimary,
SharedKeyMap<String,SharedKeyMap<String,Object>> seed,
Set<String> publicSections) |
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.