Package jline.console.completer
Class NullCompleter
- java.lang.Object
-
- jline.console.completer.NullCompleter
-
- All Implemented Interfaces:
Completer
public final class NullCompleter extends java.lang.Object implements Completer
Null completer.- Since:
- 2.3
- Author:
- Marc Prud'hommeaux, Jason Dillon
-
-
Field Summary
Fields Modifier and Type Field Description static NullCompleter
INSTANCE
-
Constructor Summary
Constructors Constructor Description NullCompleter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
complete(java.lang.String buffer, int cursor, java.util.List<java.lang.CharSequence> candidates)
Populates candidates with a list of possible completions for the buffer.
-
-
-
Field Detail
-
INSTANCE
public static final NullCompleter INSTANCE
-
-
Method Detail
-
complete
public int complete(java.lang.String buffer, int cursor, java.util.List<java.lang.CharSequence> candidates)
Description copied from interface:Completer
Populates candidates with a list of possible completions for the buffer. The candidates list will not be sorted before being displayed to the user: thus, the complete method should sort theList
before returning.
-
-