Class Attributes
- java.lang.Object
-
- opennlp.tools.dictionary.serializer.Attributes
-
public class Attributes extends Object
TheAttributes
class 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 String
getValue(String key)
Retrieves the value for the given key or null if attribute it not set.Iterator<String>
iterator()
Iterates over the keys.void
setValue(String key, String value)
Sets a key/value pair.
-