本文整理了Java中org.omg.CORBA_2_3.portable.OutputStream.write_boolean()
方法的一些代码示例,展示了OutputStream.write_boolean()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OutputStream.write_boolean()
方法的具体详情如下:
包路径:org.omg.CORBA_2_3.portable.OutputStream
类名称:OutputStream
方法名:write_boolean
暂无
代码示例来源:origin: wildfly/wildfly
public void write(OutputStream out, Object obj) {
out.write_boolean(((Boolean) obj).booleanValue());
}
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void write(OutputStream os, Object value)
{
Boolean val = (Boolean) value;
os.write_boolean(val.booleanValue());
}
};
代码示例来源:origin: org.wildfly/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
out.write_boolean(((Boolean) obj).booleanValue());
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void write( OutputStream os, Object value )
{
Boolean val = (Boolean)value ;
os.write_boolean( val.booleanValue() ) ;
}
} ;
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void write(OutputStream os, Object value)
{
Boolean val = (Boolean) value;
os.write_boolean(val.booleanValue());
}
};
代码示例来源:origin: org.jboss.eap/wildfly-iiop-openjdk
public void write(OutputStream out, Object obj) {
out.write_boolean(((Boolean) obj).booleanValue());
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement
public final void writeBoolean(boolean data) throws IOException{
try{
writeObjectState.writeData(this);
orbStream.write_boolean(data);
} catch(Error e) {
IOException ioexc = new IOException(e.getMessage());
ioexc.initCause(e) ;
throw ioexc ;
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public final void writeBoolean(boolean data) throws IOException
{
try
{
writeObjectState.writeData(this);
orbStream.write_boolean(data);
}
catch (Error e)
{
IOException ioexc = new IOException(e.getMessage());
ioexc.initCause(e);
throw ioexc;
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void defaultWriteObject(OutputStreamHook stream) throws IOException {
// The writeObject method called defaultWriteObject
// or writeFields, so put the called defaultWriteObject
// indicator as true
stream.getOrbStream().write_boolean(true);
stream.setState(WROTE_DEFAULT_DATA);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement
public void defaultWriteObject(OutputStreamHook stream) throws IOException {
// The writeObject method called defaultWriteObject
// or writeFields, so put the called defaultWriteObject
// indicator as true
stream.getOrbStream().write_boolean(true);
stream.setState(WROTE_DEFAULT_DATA);
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void defaultWriteObject(OutputStreamHook stream) throws IOException
{
// The writeObject method called defaultWriteObject
// or writeFields, so put the called defaultWriteObject
// indicator as true
stream.getOrbStream().write_boolean(true);
stream.setState(WROTE_DEFAULT_DATA);
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void defaultWriteObject(OutputStreamHook stream) throws IOException
{
// The writeObject method called defaultWriteObject
// or writeFields, so put the called defaultWriteObject
// indicator as true
stream.getOrbStream().write_boolean(true);
stream.setState(WROTE_DEFAULT_DATA);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement
public void writeData(OutputStreamHook stream) throws IOException {
// The writeObject method first called a direct
// write operation. Write the called defaultWriteObject
// indicator as false, put the special stream format
// version 2 header (if stream format version 2, of course),
// and write the data
stream.getOrbStream().write_boolean(false);
stream.beginOptionalCustomData();
stream.setState(WROTE_CUSTOM_DATA);
}
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void writeData(OutputStreamHook stream) throws IOException
{
// The writeObject method first called a direct
// write operation. Write the called defaultWriteObject
// indicator as false, put the special stream format
// version 2 header (if stream format version 2, of course),
// and write the data
stream.getOrbStream().write_boolean(false);
stream.beginOptionalCustomData();
stream.setState(WROTE_CUSTOM_DATA);
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void writeData(OutputStreamHook stream) throws IOException {
// The writeObject method first called a direct
// write operation. Write the called defaultWriteObject
// indicator as false, put the special stream format
// version 2 header (if stream format version 2, of course),
// and write the data
stream.getOrbStream().write_boolean(false);
stream.beginOptionalCustomData();
stream.setState(WROTE_CUSTOM_DATA);
}
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void writeData(OutputStreamHook stream) throws IOException
{
// The writeObject method first called a direct
// write operation. Write the called defaultWriteObject
// indicator as false, put the special stream format
// version 2 header (if stream format version 2, of course),
// and write the data
stream.getOrbStream().write_boolean(false);
stream.beginOptionalCustomData();
stream.setState(WROTE_CUSTOM_DATA);
}
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb-jdk9-supplement
public void exitWriteObject(OutputStreamHook stream) throws IOException {
// We didn't write any data, so write the
// called defaultWriteObject indicator as false
stream.getOrbStream().write_boolean(false);
// If we're in stream format verison 2, we must
// put the "null" marker to say that there isn't
// any optional data
if (stream.getStreamFormatVersion() == 2)
stream.getOrbStream().write_long(0);
stream.setState(NOT_IN_WRITE_OBJECT);
}
代码示例来源:origin: org.jboss.spec.javax.rmi/jboss-rmi-api_1.0_spec
public void exitWriteObject(OutputStreamHook stream) throws IOException
{
// We didn't write any data, so write the
// called defaultWriteObject indicator as false
stream.getOrbStream().write_boolean(false);
// If we're in stream format verison 2, we must
// put the "null" marker to say that there isn't
// any optional data
if (stream.getStreamFormatVersion() == 2)
stream.getOrbStream().write_long(0);
stream.setState(NOT_IN_WRITE_OBJECT);
}
代码示例来源:origin: jboss/jboss-javaee-specs
public void exitWriteObject(OutputStreamHook stream) throws IOException
{
// We didn't write any data, so write the
// called defaultWriteObject indicator as false
stream.getOrbStream().write_boolean(false);
// If we're in stream format verison 2, we must
// put the "null" marker to say that there isn't
// any optional data
if (stream.getStreamFormatVersion() == 2)
stream.getOrbStream().write_long(0);
stream.setState(NOT_IN_WRITE_OBJECT);
}
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void exitWriteObject(OutputStreamHook stream) throws IOException {
// We didn't write any data, so write the
// called defaultWriteObject indicator as false
stream.getOrbStream().write_boolean(false);
// If we're in stream format verison 2, we must
// put the "null" marker to say that there isn't
// any optional data
if (stream.getStreamFormatVersion() == 2)
stream.getOrbStream().write_long(0);
stream.setState(NOT_IN_WRITE_OBJECT);
}
内容来源于网络,如有侵权,请联系作者删除!