org.apache.xmlbeans.SimpleValue.getFloatValue()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(5.6k)|赞(0)|评价(0)|浏览(65)

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

SimpleValue.getFloatValue介绍

[英]Returns the value as a float.
[中]以浮点形式返回值。

代码示例

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public float getFloatValue()
{
  return ((SimpleValue)underlyingXmlObject()).getFloatValue();
}

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

public float getFloatValue()
  { check_dated(); return _value == null ? 0.0f : ((SimpleValue)_value).getFloatValue(); }

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

return new Float(base.getFloatValue());

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

writeDouble(((SimpleValue)value).getFloatValue());
break;

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

public float getFloatValue()
{
  return ((SimpleValue)underlyingXmlObject()).getFloatValue();
}

代码示例来源:origin: com.github.pjfanning/xmlbeans

public float getFloatValue()
{
  return ((SimpleValue)underlyingXmlObject()).getFloatValue();
}

代码示例来源:origin: org.apache.xmlbeans/com.springsource.org.apache.xmlbeans

public float getFloatValue()
  { check_dated(); return _value == null ? 0.0f : ((SimpleValue)_value).getFloatValue(); }

代码示例来源:origin: com.github.pjfanning/xmlbeans

public float getFloatValue()
  { check_dated(); return _value == null ? 0.0f : ((SimpleValue)_value).getFloatValue(); }

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets array of all "list" elements
 */
public float[] getListArray()
{
  synchronized (monitor())
  {
    check_orphaned();
    java.util.List targetList = new java.util.ArrayList();
    get_store().find_all_element_users(LIST$0, targetList);
    float[] result = new float[targetList.size()];
    for (int i = 0, len = targetList.size() ; i < len ; i++)
      result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getFloatValue();
    return result;
  }
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Gets array of all "value" elements
 */
public float[] getValueArray()
{
  synchronized (monitor())
  {
    check_orphaned();
    java.util.List targetList = new java.util.ArrayList();
    get_store().find_all_element_users(VALUE$0, targetList);
    float[] result = new float[targetList.size()];
    for (int i = 0, len = targetList.size() ; i < len ; i++)
      result[i] = ((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getFloatValue();
    return result;
  }
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Gets ith "value" element
 */
public float getValueArray(int i)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets ith "list" element
 */
public float getListArray(int i)
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIST$0, i);
    if (target == null)
    {
      throw new IndexOutOfBoundsException();
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "value" element
 */
public float getValue()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, 0);
    if (target == null)
    {
      return 0.0f;
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "assumed_value" element
 */
public float getAssumedValue()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ASSUMEDVALUE$4, 0);
    if (target == null)
    {
      return 0.0f;
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.apache.airavata/airavata-gfac-schema-utils

/**
 * Gets the "value" element
 */
public float getValue()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, 0);
    if (target == null)
    {
      return 0.0f;
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "numerator" element
 */
public float getNumerator()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NUMERATOR$0, 0);
    if (target == null)
    {
      return 0.0f;
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "denominator" element
 */
public float getDenominator()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DENOMINATOR$2, 0);
    if (target == null)
    {
      return 0.0f;
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "accuracy" element
 */
public float getAccuracy()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCURACY$0, 0);
    if (target == null)
    {
      return 0.0f;
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.openehr.java-libs/oet-parser

/**
 * Gets the "lower" element
 */
public float getLower()
{
  synchronized (monitor())
  {
    check_orphaned();
    org.apache.xmlbeans.SimpleValue target = null;
    target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LOWER$0, 0);
    if (target == null)
    {
      return 0.0f;
    }
    return target.getFloatValue();
  }
}

代码示例来源:origin: org.apache.xmlbeans/xmlbeans

float f = ((SimpleValue)v).getFloatValue();
set_prepare();
set_float(f);

相关文章

微信公众号

最新文章

更多

SimpleValue类方法