net.sf.extjwnl.dictionary
Class POSKey
java.lang.Object
net.sf.extjwnl.dictionary.POSKey
public class POSKey
- extends Object
A cache key consists of a POS
and an object.
- Author:
- John Didion
POSKey
public POSKey(POS pos,
String lemma)
POSKey
public POSKey(POS pos,
long offset)
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
getPOS
public POS getPOS()
getKey
public Object getKey()
isLemmaKey
public boolean isLemmaKey()
isOffsetKey
public boolean isOffsetKey()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.