org.omg.CORBA.portable.OutputStream.write_float()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(5.9k)|赞(0)|评价(0)|浏览(133)

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

OutputStream.write_float介绍

暂无

代码示例

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

/**
 * Write the float value into an output stream.
 *
 * @param output the <code>OutputStream</code> to write into.
 */
public void _write(OutputStream output) {
  output.write_float(value);
}

代码示例来源:origin: org.jacorb/jacorb

/**
 * Operation write_float
 */
public void write_float( float value )
{
  delegate.write_float( value );
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.fw.TpLoadThreshold s)
  {
    out.write_float(s.LoadThreshold);
  }
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream _out, float _s)
  {
    _out.write_float(_s);
  }
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream _out, float _s)
  {
    _out.write_float(_s);
  }
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public void _write(org.omg.CORBA.portable.OutputStream output) {
  output.write_float(value);
}

代码示例来源:origin: org.jacorb/jacorb-omgapi

public void _write(org.omg.CORBA.portable.OutputStream os) {
  os.write_float(value);
}

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

public void _write(org.omg.CORBA.portable.OutputStream os) {
  os.write_float(value);
}

代码示例来源:origin: apache/cxf

public void writeFloat(Float f) throws CorbaBindingException {
  if (f == null) {
    stream.write_float((float)0.0);
  } else {
    stream.write_float(f.floatValue());
  }
}

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

public void write(org.omg.CORBA.portable.OutputStream out, Object val) {
  out.write_float(((Float) val).floatValue());
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.mm.TpLocationTrigger s)
  {
    out.write_float(s.Longitude);
    out.write_float(s.Latitude);
    out.write_float(s.AreaSemiMajor);
    out.write_float(s.AreaSemiMinor);
    out.write_long(s.AngleOfSemiMajor);
    org.csapi.mm.TpLocationTriggerCriteriaHelper.write(out,s.Criterion);
    out.write_long(s.ReportingInterval);
  }
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.mm.TpGeographicalPosition s)
  {
    out.write_float(s.Longitude);
    out.write_float(s.Latitude);
    org.csapi.mm.TpLocationUncertaintyShapeHelper.write(out,s.TypeOfUncertaintyShape);
    out.write_float(s.UncertaintyInnerSemiMajor);
    out.write_float(s.UncertaintyOuterSemiMajor);
    out.write_float(s.UncertaintyInnerSemiMinor);
    out.write_float(s.UncertaintyOuterSemiMinor);
    out.write_long(s.AngleOfSemiMajor);
    out.write_long(s.SegmentStartAngle);
    out.write_long(s.SegmentEndAngle);
  }
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.fw.TpLoadStatisticData s)
  {
    out.write_float(s.LoadValue);
    org.csapi.fw.TpLoadLevelHelper.write(out,s.LoadLevel);
  }
}

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

public void writeValue(org.omg.CORBA.portable.OutputStream out,
    java.io.Serializable value) {
  float[] arr = (float[]) value;
  out.write_long(arr.length);
  for (int i = 0; i < arr.length; i++) {
    out.write_float(arr[i]);
  }
}

代码示例来源:origin: org.apache.yoko/yoko-spec-corba

public void
_write(org.omg.CORBA.portable.OutputStream out)
{
  super._write(out);
  out.write_short(max_backoffs);
  out.write_float(backoff_factor);
  out.write_ulong(base_interval_seconds);
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.mm.TpUlExtendedData s)
  {
    org.csapi.mm.TpGeographicalPositionHelper.write(out,s.GeographicalPosition);
    org.csapi.mm.TpTerminalTypeHelper.write(out,s.TerminalType);
    out.write_boolean(s.AltitudePresent);
    out.write_float(s.Altitude);
    out.write_float(s.UncertaintyAltitude);
    out.write_boolean(s.TimestampPresent);
    out.write_string(s.Timestamp);
    out.write_string(s.UsedLocationMethod);
  }
}

代码示例来源:origin: org.mobicents.resources/parlay-provider-api

public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.mm.TpLocationRequest s)
  {
    out.write_float(s.RequestedAccuracy);
    org.csapi.mm.TpLocationResponseTimeHelper.write(out,s.RequestedResponseTime);
    out.write_boolean(s.AltitudeRequested);
    org.csapi.mm.TpLocationTypeHelper.write(out,s.Type);
    org.csapi.mm.TpLocationPriorityHelper.write(out,s.Priority);
    out.write_string(s.RequestedLocationMethod);
  }
}

代码示例来源:origin: jboss.jbossts/jbossjts

public static void write (final org.omg.CORBA.portable.OutputStream out, final com.arjuna.ArjunaOTS.GlobalTransactionInfo s)
  {
    out.write_long(s.totalNumberOfTransactions);
    out.write_long(s.numberOfCommittedTransactions);
    out.write_long(s.numberOfAbortedTransactions);
    out.write_float(s.averageLifetime);
    out.write_long(s.numberOfHeuristics);
    out.write_long(s.reaperTimeout);
    out.write_long(s.defaultTimeout);
  }
}

代码示例来源:origin: jbosstm/narayana

public static void write (org.omg.CORBA.portable.OutputStream ostream, com.arjuna.ArjunaOTS.GlobalTransactionInfo value)
{
 ostream.write_long (value.totalNumberOfTransactions);
 ostream.write_long (value.numberOfCommittedTransactions);
 ostream.write_long (value.numberOfAbortedTransactions);
 ostream.write_float (value.averageLifetime);
 ostream.write_long (value.numberOfHeuristics);
 ostream.write_long (value.reaperTimeout);
 ostream.write_long (value.defaultTimeout);
}

代码示例来源:origin: jbosstm/narayana

public static void write (final org.omg.CORBA.portable.OutputStream out, final com.arjuna.ArjunaOTS.GlobalTransactionInfo s)
  {
    out.write_long(s.totalNumberOfTransactions);
    out.write_long(s.numberOfCommittedTransactions);
    out.write_long(s.numberOfAbortedTransactions);
    out.write_float(s.averageLifetime);
    out.write_long(s.numberOfHeuristics);
    out.write_long(s.reaperTimeout);
    out.write_long(s.defaultTimeout);
  }
}

相关文章