
org.crsh.console.jline.console.completer.NullCompleter Maven / Gradle / Ivy
/*
* Copyright (c) 2002-2012, the original author or authors.
*
* This software is distributable under the BSD license. See the terms of the
* BSD license in the documentation provided with this software.
*
* http://www.opensource.org/licenses/bsd-license.php
*/
package jline.console.completer;
import java.util.List;
/**
* Null completer.
*
* @author Marc Prud'hommeaux
* @author Jason Dillon
* @since 2.3
*/
public final class NullCompleter
implements Completer
{
public static final NullCompleter INSTANCE = new NullCompleter();
public int complete(final String buffer, final int cursor, final List candidates) {
return -1;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy