public class MapBackedScriptFeature extends Object implements ScriptFeature
Map based simple implementation of the ScriptFeature| Constructor and Description |
|---|
MapBackedScriptFeature(String name,
Map<List<Integer>,Integer> featureMap) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReplaceGlyphs(List<Integer> glyphIds) |
boolean |
equals(Object obj) |
Set<List<Integer>> |
getAllGlyphIdsForSubstitution() |
String |
getName() |
Integer |
getReplacementForGlyphs(List<Integer> glyphIds) |
int |
hashCode() |
public String getName()
getName in interface ScriptFeaturepublic Set<List<Integer>> getAllGlyphIdsForSubstitution()
getAllGlyphIdsForSubstitution in interface ScriptFeaturepublic boolean canReplaceGlyphs(List<Integer> glyphIds)
canReplaceGlyphs in interface ScriptFeaturepublic Integer getReplacementForGlyphs(List<Integer> glyphIds)
getReplacementForGlyphs in interface ScriptFeatureCopyright © 2008–2025 The Apache Software Foundation. All rights reserved.