📄 schematypenumber.java
字号:
/**
* SchemaTypeNumber.java
*
* This file was generated by XMLSpy 2007sp2 Enterprise Edition.
*
* YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
* OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
*
* Refer to the XMLSpy Documentation for further details.
* http://www.altova.com/xmlspy
*/
package com.jmex.xml.types;
import java.math.BigDecimal;
import java.math.BigInteger;
public interface SchemaTypeNumber extends SchemaType {
// constants for declaration of types which have an numeric value
public final int NUMERIC_VALUE_INT = 1;
// short, byte are not considered because Java treats everything as int and numbers are casted only at the end.
// unsigned types are not considered, because these simple-types are not supported by Java
public final int NUMERIC_VALUE_LONG = 2;
public final int NUMERIC_VALUE_BIGINTEGER = 3;
public final int NUMERIC_VALUE_FLOAT = 4;
public final int NUMERIC_VALUE_DOUBLE = 5;
public final int NUMERIC_VALUE_BIGDECIMAL = 6;
public int numericType(); // returns if the value is nummeric and up to which degree.
public int intValue();
public long longValue();
public BigInteger bigIntegerValue();
public float floatValue();
public double doubleValue();
public BigDecimal bigDecimalValue();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -