Package net.didion.jwnl.data
Interface DictionaryElement
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Exc,IndexWord,Synset,SynsetProxy
public interface DictionaryElement extends Serializable
Any class that represents an element contained in the dictionary (IndexWords,Synsets, andExceptions) must implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetKey()Get a key that can be used to index this element.DictionaryElementTypegetType()Get the element's type.
-
-
-
Method Detail
-
getKey
Object getKey()
Get a key that can be used to index this element.
-
getType
DictionaryElementType getType()
Get the element's type.
-
-