|
||||||||||
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 exceptionsMethod Detail |
---|
public DictionaryElementType getType()
getType
in interface DictionaryElement
public 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 DictionaryElement
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |