Package net.didion.jwnl.dictionary.morph
Class BaseFormSet
- java.lang.Object
-
- net.didion.jwnl.dictionary.morph.BaseFormSet
-
public class BaseFormSet extends Object
A group of possible base forms for a particular lemma
-
-
Constructor Summary
Constructors Constructor Description BaseFormSet()BaseFormSet(boolean allowDuplicates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String s)voidaddAll(BaseFormSet forms)StringgetCurrentForm()StringgetForm(int index)ListgetForms()intgetIndex()StringgetNextForm()booleanisCurrentFormAvailable()booleanisMoreFormsAvailable()voidsetIndex(int index)intsize()
-
-
-
Method Detail
-
add
public void add(String s)
-
addAll
public void addAll(BaseFormSet forms)
-
getForm
public String getForm(int index)
-
getForms
public List getForms()
-
isCurrentFormAvailable
public boolean isCurrentFormAvailable()
-
getCurrentForm
public String getCurrentForm()
-
isMoreFormsAvailable
public boolean isMoreFormsAvailable()
-
getNextForm
public String getNextForm()
-
getIndex
public int getIndex()
-
setIndex
public void setIndex(int index)
-
size
public int size()
-
-