Class Attributes
- java.lang.Object
-
- opennlp.tools.dictionary.serializer.Attributes
-
public class Attributes extends Object
TheAttributesclass stores name value pairs. Problem: The HashMap for storing the name value pairs has a very high memory footprint, replace it.
-
-
Constructor Summary
Constructors Constructor Description Attributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue(String key)Retrieves the value for the given key or null if attribute it not set.Iterator<String>iterator()Iterates over the keys.voidsetValue(String key, String value)Sets a key/value pair.
-