# Uses of Enum Class
org.apache.sis.math.NumberType

Packages that use NumberType
Package
Description
org.apache.sis.math
A set of mathematical objects and algebraic utilities.

- ## Uses of NumberType in org.apache.sis.math

  Subclasses with type arguments of type NumberType in org.apache.sis.math
  Modifier and Type
  Class
  Description
  `enum`
  `NumberType`
  Type of numbers recognized by Apache SIS, together with primitive types by extension.
  Methods in org.apache.sis.math that return NumberType
  Modifier and Type
  Method
  Description
  `static NumberType`
  NumberType.`forNumberClass(Class<?> type)`
  Returns the enumeration value for the given numeric class.
  `static NumberType`
  NumberType.`forNumberClasses(Class<?>... types)`
  Returns an enumeration value capable to represent at least approximately all the given numeric classes.
  `static NumberType`
  NumberType.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static NumberType[]`
  NumberType.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.sis.math that return types with arguments of type NumberType
  Modifier and Type
  Method
  Description
  `static Optional<NumberType>`
  NumberType.`forClass(Class<?> type)`
  Returns the enumeration value for the given class.
  `static Optional<NumberType>`
  NumberType.`forClasses(Class<?>... types)`
  Returns an enumeration value capable to represent at least approximately all the given classes.
  Methods in org.apache.sis.math with parameters of type NumberType
  Modifier and Type
  Method
  Description
  `boolean`
  NumberType.`isConversionLossless(NumberType target)`
  Returns whether conversion of values from this type to the specified type would be lossless.
  `boolean`
  NumberType.`isNarrowerThan(NumberType other)`
  Returns whether this type is considered narrower than the specified type.
  `boolean`
  NumberType.`isWiderThan(NumberType other)`
  Returns whether this type is considered wider than the specified type.