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

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

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

InputStream.read_float介绍

暂无

代码示例

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

public static float read (final org.omg.CORBA.portable.InputStream _in)
{
  float _result;
  _result=_in.read_float();
  return _result;
}

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

/**
 * Operation read_float
 */
public float read_float()
{
  return delegate.read_float();
}

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

/**
 * Read a float from an input stream and initialize the value
 * member with the float value.
 *
 * @param input the <code>InputStream</code> to read from.
 */
public void _read(InputStream input) {
  value = input.read_float();
}

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

public static float read (final org.omg.CORBA.portable.InputStream _in)
{
  float _result;
  _result=_in.read_float();
  return _result;
}

代码示例来源:origin: org.jppf/jppf-jmxremote_optional

@Override
public float read_float() {
 return in.read_float();
}

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

public void _read(org.omg.CORBA.portable.InputStream is) {
  value = is.read_float();
}

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

public void _read(org.omg.CORBA.portable.InputStream input) {
  value = input.read_float();
}

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

public void _read(org.omg.CORBA.portable.InputStream is) {
  value = is.read_float();
}

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

public Object read(org.omg.CORBA.portable.InputStream in) {
  return new Float(in.read_float());
}

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

public Float readFloat() throws CorbaBindingException {
  try {
    return Float.valueOf(stream.read_float());
  } catch (org.omg.CORBA.MARSHAL ex) {
    LOG.log(Level.SEVERE, "CorbaObjectReader: could not read float");
    throw new CorbaBindingException("CorbaObjectReader: readFloat MARSHAL exception", ex);
  }
}

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

public static org.csapi.fw.TpLoadThreshold read (final org.omg.CORBA.portable.InputStream in)
{
  org.csapi.fw.TpLoadThreshold result = new org.csapi.fw.TpLoadThreshold();
  result.LoadThreshold=in.read_float();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.fw.TpLoadThreshold s)

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

public java.io.Serializable readValue(
    org.omg.CORBA.portable.InputStream in, java.util.Map offsetMap,
    Integer key) {
  float[] arr = new float[in.read_long()];
  offsetMap.put(key, arr);
  for (int i = 0; i < arr.length; i++) {
    arr[i] = in.read_float();
  }
  return (java.io.Serializable) arr;
}

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

public static org.csapi.mm.TpLocationTrigger read (final org.omg.CORBA.portable.InputStream in)
{
  org.csapi.mm.TpLocationTrigger result = new org.csapi.mm.TpLocationTrigger();
  result.Longitude=in.read_float();
  result.Latitude=in.read_float();
  result.AreaSemiMajor=in.read_float();
  result.AreaSemiMinor=in.read_float();
  result.AngleOfSemiMajor=in.read_long();
  result.Criterion=org.csapi.mm.TpLocationTriggerCriteriaHelper.read(in);
  result.ReportingInterval=in.read_long();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.mm.TpLocationTrigger s)

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

public static org.csapi.fw.TpLoadStatisticData read (final org.omg.CORBA.portable.InputStream in)
{
  org.csapi.fw.TpLoadStatisticData result = new org.csapi.fw.TpLoadStatisticData();
  result.LoadValue=in.read_float();
  result.LoadLevel=org.csapi.fw.TpLoadLevelHelper.read(in);
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.fw.TpLoadStatisticData s)

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

public void
_read(org.omg.CORBA.portable.InputStream in)
{
  super._read(in);
  max_backoffs = in.read_short();
  backoff_factor = in.read_float();
  base_interval_seconds = in.read_ulong();
}

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

public static org.csapi.mm.TpUlExtendedData read (final org.omg.CORBA.portable.InputStream in)
{
  org.csapi.mm.TpUlExtendedData result = new org.csapi.mm.TpUlExtendedData();
  result.GeographicalPosition=org.csapi.mm.TpGeographicalPositionHelper.read(in);
  result.TerminalType=org.csapi.mm.TpTerminalTypeHelper.read(in);
  result.AltitudePresent=in.read_boolean();
  result.Altitude=in.read_float();
  result.UncertaintyAltitude=in.read_float();
  result.TimestampPresent=in.read_boolean();
  result.Timestamp=in.read_string();
  result.UsedLocationMethod=in.read_string();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.mm.TpUlExtendedData s)

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

public static org.csapi.mm.TpLocationRequest read (final org.omg.CORBA.portable.InputStream in)
{
  org.csapi.mm.TpLocationRequest result = new org.csapi.mm.TpLocationRequest();
  result.RequestedAccuracy=in.read_float();
  result.RequestedResponseTime=org.csapi.mm.TpLocationResponseTimeHelper.read(in);
  result.AltitudeRequested=in.read_boolean();
  result.Type=org.csapi.mm.TpLocationTypeHelper.read(in);
  result.Priority=org.csapi.mm.TpLocationPriorityHelper.read(in);
  result.RequestedLocationMethod=in.read_string();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final org.csapi.mm.TpLocationRequest s)

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

public static com.arjuna.ArjunaOTS.GlobalTransactionInfo read (org.omg.CORBA.portable.InputStream istream)
{
 com.arjuna.ArjunaOTS.GlobalTransactionInfo value = new com.arjuna.ArjunaOTS.GlobalTransactionInfo ();
 value.totalNumberOfTransactions = istream.read_long ();
 value.numberOfCommittedTransactions = istream.read_long ();
 value.numberOfAbortedTransactions = istream.read_long ();
 value.averageLifetime = istream.read_float ();
 value.numberOfHeuristics = istream.read_long ();
 value.reaperTimeout = istream.read_long ();
 value.defaultTimeout = istream.read_long ();
 return value;
}

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

public static com.arjuna.ArjunaOTS.GlobalTransactionInfo read (final org.omg.CORBA.portable.InputStream in)
{
  com.arjuna.ArjunaOTS.GlobalTransactionInfo result = new com.arjuna.ArjunaOTS.GlobalTransactionInfo();
  result.totalNumberOfTransactions=in.read_long();
  result.numberOfCommittedTransactions=in.read_long();
  result.numberOfAbortedTransactions=in.read_long();
  result.averageLifetime=in.read_float();
  result.numberOfHeuristics=in.read_long();
  result.reaperTimeout=in.read_long();
  result.defaultTimeout=in.read_long();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final com.arjuna.ArjunaOTS.GlobalTransactionInfo s)

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

public static com.arjuna.ArjunaOTS.GlobalTransactionInfo read (final org.omg.CORBA.portable.InputStream in)
{
  com.arjuna.ArjunaOTS.GlobalTransactionInfo result = new com.arjuna.ArjunaOTS.GlobalTransactionInfo();
  result.totalNumberOfTransactions=in.read_long();
  result.numberOfCommittedTransactions=in.read_long();
  result.numberOfAbortedTransactions=in.read_long();
  result.averageLifetime=in.read_float();
  result.numberOfHeuristics=in.read_long();
  result.reaperTimeout=in.read_long();
  result.defaultTimeout=in.read_long();
  return result;
}
public static void write (final org.omg.CORBA.portable.OutputStream out, final com.arjuna.ArjunaOTS.GlobalTransactionInfo s)

相关文章