testtypesinterface.java

来自「SRI international 发布的OAA框架软件」· Java 代码 · 共 83 行

JAVA
83
字号
/* $Id: TestTypesInterface.java,v 1.1 2003/09/27 03:01:14 giuli Exp $*/
/**************************************************************************
 * Copyright 2002, 2003 SRI International. All rights reserved.
 *
 * The material contained in this file is confidential and proprietary to SRI
 * International and may not be reproduced, published, or disclosed to others
 * without authorization from SRI International.
 *
 * DISCLAIMER OF WARRANTIES
 *
 * SRI International MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE
 * SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT
 * LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SRI International SHALL NOT BE
 * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
 * OR DISTRIBUTING THIS SOFTWARE
 **************************************************************************/
package com.sri.test.javanetbridge.classes;

/**
 * Created by IntelliJ IDEA.
 * User: rgiuli
 * Date: Sep 24, 2003
 * Time: 11:17:28 AM
 * To change this template use Options | File Templates.
 */
public interface TestTypesInterface {
    int getInt1();
    int getInt2() throws Exception;
    short getShort();
    float getFloat();
    double getDouble();
    char getChar();
    byte getByte();
    long getLong();
    int[] get1DInt();
    char[] get1DChar();
    byte[] get1DByte();
    double[] get1DDouble();
    float[] get1DFloat();
    short[] get1DShort();
    long[] get1DLong();
    int[][] get2DInt();
    char[][] get2DChar();
    byte[][] get2DByte();
    double[][] get2DDouble();
    float[][] get2DFloat();
    short[][] get2DShort();
    long[][] get2DLong();
    void doNothing();
    void doNothing(int a) throws Exception;
    void doNothing(int a, float b, short c, double d, byte e, long f);

    boolean identity(boolean a);
    int identity(int a);
    long identity(long a);
    byte identity(byte a);
    double identity(double a);
    short identity(short a);
    float identity(float a);
    char identity(char a);
    boolean[] identity(boolean[] a);
    int[] identity(int[] a);
    long[] identity(long[] a);
    byte[] identity(byte[] a);
    double[] identity(double[] a);
    short[] identity(short[] a);
    float[] identity(float[] a);
    char[] identity(char[] a);
    boolean[][] identity(boolean[][] a);
    int[][] identity(int[][] a);
    long[][] identity(long[][] a);
    byte[][] identity(byte[][] a);
    double[][] identity(double[][] a);
    short[][] identity(short[][] a);
    float[][] identity(float[][] a);
    char[][] identity(char[][] a);

    String identity(String a);
    String[] identity(String[] a);
    String[][] identity(String[][] a);
}

⌨️ 快捷键说明

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