Class POSKey


  • public class POSKey
    extends Object
    A cache key consists of a POS and an object
    • Constructor Detail

      • POSKey

        public POSKey​(POS pos,
                      String lemma)
      • POSKey

        public POSKey​(POS pos,
                      long offset)
    • Method Detail

      • 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