|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.didion.jwnl.data.Exc
public final class Exc
Represents an entry in an exception file. Contains all of the exceptions for the given lemma.
| Constructor Summary | |
|---|---|
Exc(POS pos,
java.lang.String lemma,
java.util.List exceptions)
Creates a new exception entry. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if lemma and exceptions are equal. |
java.lang.String |
getException(int index)
Get the exception at index index. |
java.lang.String[] |
getExceptionArray()
Get the collection of Exc objects in array form. |
java.util.List |
getExceptions()
Get the List of exceptions. |
int |
getExceptionsSize()
Gets the number of exceptions. |
java.lang.Object |
getKey()
Gets the lemma. |
java.lang.String |
getLemma()
Gets the lemma of the exception word. |
POS |
getPOS()
Gets the part of speech. |
DictionaryElementType |
getType()
Gets the type of this exception entry. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Exc(POS pos,
java.lang.String lemma,
java.util.List exceptions)
pos - - the part of speechlemma - - the word's lemma formexceptions - - the given exceptions| Method Detail |
|---|
public DictionaryElementType getType()
getType in interface DictionaryElementpublic POS getPOS()
public java.lang.String getLemma()
public java.lang.String getException(int index)
index.
public int getExceptionsSize()
public java.lang.String[] getExceptionArray()
public java.util.List getExceptions()
public java.lang.Object getKey()
getKey in interface DictionaryElementpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||