org.omg.CORBA_2_3.portable.InputStream.read_short()方法的使用及代码示例

x33g5p2x  于2022-01-21 转载在 其他  
字(3.9k)|赞(0)|评价(0)|浏览(105)

本文整理了Java中org.omg.CORBA_2_3.portable.InputStream.read_short()方法的一些代码示例,展示了InputStream.read_short()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_short()方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.InputStream
类名称:InputStream
方法名:read_short

InputStream.read_short介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

public Object read(InputStream in) {
    return new Short(in.read_short());
  }
}

代码示例来源:origin: org.apache.yoko/yoko-rmi-impl

public int readUnsignedShort() throws java.io.IOException {
  int val = in.read_short();
  return val & 0xffff;
}

代码示例来源:origin: org.apache.yoko/yoko-rmi-impl

public short readShort() throws java.io.IOException {
  return in.read_short();
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public Object read( InputStream is )
{
  short value = is.read_short() ;
  return new Short( value ) ;
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

public Object read(InputStream is)
{
  short value = is.read_short();
  return new Short(value);
}

代码示例来源:origin: jboss/jboss-javaee-specs

public Object read(InputStream is)
{
  short value = is.read_short();
  return new Short(value);
}

代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk

public Object read(InputStream in) {
    return new Short(in.read_short());
  }
}

代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk

public Object read(InputStream in) {
    return new Short(in.read_short());
  }
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement

public final short readShort() throws IOException{
  try{
    readObjectState.readData(this);
    return orbStream.read_short();
  } catch (MARSHAL marshalException) {
    handleOptionalDataMarshalException(marshalException, false);
    throw marshalException;
  } catch(Error e) {
    IOException exc = new IOException(e.getMessage());
    exc.initCause(e);
    throw exc ;
  }
}

代码示例来源:origin: jboss/jboss-javaee-specs

public final short readShort() throws IOException
{
  try
  {
    readObjectState.readData(this);
    return orbStream.read_short();
  }
  catch (MARSHAL marshalException)
  {
    handleOptionalDataMarshalException(marshalException, false);
    throw marshalException;
  }
  catch (Error e)
  {
    IOException exc = new IOException(e.getMessage());
    exc.initCause(e);
    throw exc;
  }
}

代码示例来源:origin: jboss/jboss-javaee-specs

public IIOPAddressImpl(InputStream is)
{
  host = is.read_string();
  short thePort = is.read_short();
  port = shortToInt(thePort);
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

public IIOPAddressImpl(InputStream is)
{
  host = is.read_string();
  short thePort = is.read_short();
  port = shortToInt(thePort);
}

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

public final short readShort() throws IOException
{
  try
  {
    readObjectState.readData(this);
    return orbStream.read_short();
  }
  catch (MARSHAL marshalException)
  {
    handleOptionalDataMarshalException(marshalException, false);
    throw marshalException;
  }
  catch (Error e)
  {
    IOException exc = new IOException(e.getMessage());
    exc.initCause(e);
    throw exc;
  }
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb

public IIOPAddressImpl( InputStream is )
{
  host = is.read_string() ;
  short thePort = is.read_short() ;
  port = shortToInt( thePort ) ;
}

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement

break;
case TCKind._tk_short:
  short shortValue = orbStream.read_short();
  fieldToValueMap.put(fields[i].name, new Short(shortValue));
  break;

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

break;
case TCKind._tk_short :
  short shortValue = orbStream.read_short();
  fieldToValueMap.put(fields[i].name, new Short(shortValue));
  break;

代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec

break;
case 'S' :
  short shortValue = orbStream.read_short();
  fieldToValueMap.put(fields[i].getName(), new Short(shortValue));
  break;

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement

break;
case 'S':
  short shortValue = orbStream.read_short();
  fieldToValueMap.put(fields[i].getName(),
            new Short(shortValue));

代码示例来源:origin: jboss/jboss-javaee-specs

short shortValue = orbStream.read_short();
bridge.putShort(o, field.getFieldID(), shortValue);

代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement

short shortValue = orbStream.read_short();
if (field.getField() != null) {
  bridge.putShort( o, field.getFieldID(), shortValue ) ;

相关文章