almacen.java
来自「J2ME 技术开发的扑克牌类游戏 是开源代码」· Java 代码 · 共 37 行
JAVA
37 行
/*
* Almacen.java
*
* Created on 25 de febrero de 2006, 18:22
*
* To change this template, choose Tools | Options and locate the template under
* the Source Creation and Management node. Right-click the template and choose
* Open. You can then make changes to the template in the Source Editor.
*/
package telefono;
/**
*
* @author Enrique Vicent Ramis
*/
public interface Almacen
{
/** guarda la partida actual en el slot autom?tico **/
public void guardar() throws java.io.IOException;;
/** gurda la partida actual con el nombre dado */
public void guardar(String nombre) throws java.io.IOException;;
/** carga la partida almacenada enel slot autom?tico */
public String cargar() throws java.io.IOException;;
/** carga la partid almacenada en un slot con el nombre dado */
public String cargar(String nombre) throws java.io.IOException;
/** borra una partida de un slot */
public void borrar(String nombre) throws java.io.IOException, java.util.NoSuchElementException;
/** obtiene una lista de las partidas existentes */
public String [] getExistentes();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?