Top Description Fields Constructors Methods
org.apache.commons.math3.util

public Class Decimal64Field

extends Object
implements Field<Decimal64>
Class Inheritance
All Implemented Interfaces
org.apache.commons.math3.Field
Imports
org.apache.commons.math3.Field, .FieldElement

The field of double precision floating-point numbers.
Since
3.1
See Also
Decimal64

Field Summary

Modifier and TypeField and Description
private static final Decimal64Field
INSTANCE

The unique instance of this class.

Constructor Summary

AccessConstructor and Description
private
Decimal64Field()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
public static final Decimal64Field

Returns:

the unique instance of this class
getInstance
()

Returns the unique instance of this class.

public Decimal64
getOne()

Implements org.apache.commons.math3.Field.getOne.

Get the multiplicative identity of the field.

public Class<? extends FieldElement<Decimal64>>
getRuntimeClass()

Implements org.apache.commons.math3.Field.getRuntimeClass.

Returns the runtime class of the FieldElement.

public Decimal64
getZero()

Implements org.apache.commons.math3.Field.getZero.

Get the additive identity of the field.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
private static final Decimal64Field INSTANCE

The unique instance of this class.

Constructor Detail

Decimal64Fieldback to summary
private Decimal64Field()

Default constructor.

Method Detail

getInstanceback to summary
public static final Decimal64Field getInstance()

Returns the unique instance of this class.

Returns:Decimal64Field

the unique instance of this class

getOneback to summary
public Decimal64 getOne()

Implements org.apache.commons.math3.Field.getOne.

Doc from org.apache.commons.math3.Field.getOne.

Get the multiplicative identity of the field.

The multiplicative identity is the element e1 of the field such that for all elements a of the field, the equalities a × e1 = e1 × a = a hold.

Returns:Decimal64

multiplicative identity of the field

getRuntimeClassback to summary
public Class<? extends FieldElement<Decimal64>> getRuntimeClass()

Implements org.apache.commons.math3.Field.getRuntimeClass.

Doc from org.apache.commons.math3.Field.getRuntimeClass.

Returns the runtime class of the FieldElement.

Returns:Class<? extends FieldElement<Decimal64>>

The Class object that represents the runtime class of this object.

getZeroback to summary
public Decimal64 getZero()

Implements org.apache.commons.math3.Field.getZero.

Doc from org.apache.commons.math3.Field.getZero.

Get the additive identity of the field.

The additive identity is the element e0 of the field such that for all elements a of the field, the equalities a + e0 = e0 + a = a hold.

Returns:Decimal64

additive identity of the field