Package jline

Class NullCompletor

    • Constructor Summary

      Constructors 
      Constructor Description
      NullCompletor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int complete​(java.lang.String buffer, int cursor, java.util.List candidates)
      Returns -1 always, indicating that the the buffer is never handled.
      • Methods inherited from class java.lang.Object

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

      • complete

        public int complete​(java.lang.String buffer,
                            int cursor,
                            java.util.List candidates)
        Returns -1 always, indicating that the the buffer is never handled.
        Specified by:
        complete in interface Completor
        Parameters:
        buffer - the buffer
        candidates - the List of candidates to populate
        Returns:
        the index of the buffer for which the completion will be relative