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 void
add(String s)
void
addAll(BaseFormSet forms)
String
getCurrentForm()
String
getForm(int index)
List
getForms()
int
getIndex()
String
getNextForm()
boolean
isCurrentFormAvailable()
boolean
isMoreFormsAvailable()
void
setIndex(int index)
int
size()
-
-
-
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()
-
-