indyinterface.java~2~

来自「大量java源程序」· JAVA~2~ 代码 · 共 49 行

JAVA~2~
49
字号
/*
 * @(#)IndyInterface
 *
 * Copyright (c) 1998 Karl Moss. All Rights Reserved.
 *
 * You may study, use, modify, and distribute this software for any
 * purpose provided that this copyright notice appears in all copies.
 *
 * This software is provided WITHOUT WARRANTY either expressed or
 * implied.
 *
 * @author  Karl Moss
 * @version 1.0
 * @date    17Apr98
 *
 */

package javaservlets.tunnel;

/**
  * <p>This interface defines the methods available for
  * performing queries on the Indianapolis 500 database
  */

public interface IndyInterface
{
  /**
    * <p>Connects to the database.
    *
    * @return True if the database connection was established
    */
  boolean connect();

  /**
    * <p>Closes the database connection
    */
  void close();

  /**
    * <p>Given the year return the corresponding Indianapolis
    * 500 record
    *
    * @param year Year of the race
    * @return Indy 500 record or null if not found
    */
  IndyRecord[] query();

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?