datamarshalinputstream.java

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

JAVA
80
字号
/* $Id: DataMarshalInputStream.java,v 1.1 2003/09/27 03:01:11 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.sedc.javanetbridge.io;

import java.io.IOException;

/**
 * DataMarshalInputStream is used to read input data from an input stream.
 */
public interface DataMarshalInputStream {
    byte readByte() throws IOException;

    short readShort() throws IOException;

    int readInt() throws IOException;

    float readFloat() throws IOException;

    long readLong() throws IOException;

    double readDouble() throws IOException;

    char readChar() throws IOException;

    boolean readBoolean() throws IOException;

    String readString() throws IOException;

    byte[] readByte1D() throws IOException;

    short[] readShort1D() throws IOException;

    int[] readInt1D() throws IOException;

    float[] readFloat1D() throws IOException;

    long[] readLong1D() throws IOException;

    double[] readDouble1D() throws IOException;

    char[] readChar1D() throws IOException;

    boolean[] readBoolean1D() throws IOException;

    String[] readString1D() throws IOException;

    byte[][] readByte2D() throws IOException;

    short[][] readShort2D() throws IOException;

    int[][] readInt2D() throws IOException;

    float[][] readFloat2D() throws IOException;

    long[][] readLong2D() throws IOException;

    double[][] readDouble2D() throws IOException;

    char[][] readChar2D() throws IOException;

    boolean[][] readBoolean2D() throws IOException;

    String[][] readString2D() throws IOException;
}

⌨️ 快捷键说明

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