Class Correction

  • All Implemented Interfaces:
    java.lang.Comparable<Correction>

    public final class Correction
    extends java.lang.Object
    implements java.lang.Comparable<Correction>
    • Method Summary

      Modifier and Type Method Description
      int compareTo​(Correction other)
      Lower scores sorts first; if scores are equal, than later terms (zzz) sort first .
      org.apache.lucene.util.BytesRef join​(org.apache.lucene.util.BytesRef separator)  
      org.apache.lucene.util.BytesRef join​(org.apache.lucene.util.BytesRef separator, org.apache.lucene.util.BytesRefBuilder result, org.apache.lucene.util.BytesRef preTag, org.apache.lucene.util.BytesRef postTag)  
      org.apache.lucene.util.BytesRef join​(org.apache.lucene.util.BytesRef separator, org.apache.lucene.util.BytesRef preTag, org.apache.lucene.util.BytesRef postTag)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • join

        public org.apache.lucene.util.BytesRef join​(org.apache.lucene.util.BytesRef separator)
      • join

        public org.apache.lucene.util.BytesRef join​(org.apache.lucene.util.BytesRef separator,
                                                    org.apache.lucene.util.BytesRef preTag,
                                                    org.apache.lucene.util.BytesRef postTag)
      • join

        public org.apache.lucene.util.BytesRef join​(org.apache.lucene.util.BytesRef separator,
                                                    org.apache.lucene.util.BytesRefBuilder result,
                                                    org.apache.lucene.util.BytesRef preTag,
                                                    org.apache.lucene.util.BytesRef postTag)
      • compareTo

        public int compareTo​(Correction other)
        Lower scores sorts first; if scores are equal, than later terms (zzz) sort first .
        Specified by:
        compareTo in interface java.lang.Comparable<Correction>