com.github.andyshao.lang.number.Number Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Gear Show documentation
Show all versions of Gear Show documentation
Enhance and formating the coding of JDK
The newest version!
package com.github.andyshao.lang.number;
import java.io.Serializable;
/**
*
* Title:
* Descript:
* Copyright: Copryright(c) Dec 20, 2016
* Encoding:UNIX UTF-8
*
* @author Andy.Shao
*
*/
public interface Number extends Serializable {
/**
* get the radix
* @return the radix number
*/
int getRadix();
/**
* get the value as {@link String}
* @return value
*/
String getValueStr();
/**
* build value by {@link String}
* @param valueStr value string
* @return {@link Number}
*/
Number instance(String valueStr);
/**
* is decimal
* @return if it is then true
*/
boolean isDecimal();
/**
* is integer
* @return if it is then true
*/
boolean isInteger();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy