1/* 2 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved. 3 * 4 * This software is distributable under the BSD license. See the terms of the 5 * BSD license in the documentation provided with this software. 6 */ 7package jline; 8 9import java.io.*; 10import java.util.*; 11 12/** 13 * <p> 14 * A {@link CompletionHandler} that deals with multiple distinct completions 15 * by cycling through each one every time tab is pressed. This 16 * mimics the behavior of the 17 * <a href="http://packages.qa.debian.org/e/editline.html">editline</a> 18 * library. 19 * </p> 20 * <p><strong>This class is currently a stub; it does nothing</strong></p> 21 * @author <a href="mailto:mwp1@cornell.edu">Marc Prud'hommeaux</a> 22 */ 23public class CandidateCycleCompletionHandler implements CompletionHandler { 24 public boolean complete(final ConsoleReader reader, final List candidates, 25 final int position) throws IOException { 26 throw new IllegalStateException("CandidateCycleCompletionHandler unimplemented"); 27 } 28} 29