Top Description Constructors Methods
tech.units.indriya.spi

public Class DefaultServiceProvider

extends AbstractServiceProvider
Class Inheritance
Annotations
@Named:Default
Static Imports
tech.units.indriya.spi.ServiceConstants.*

This class extends the javax.measure.spi.ServiceProvider class and hereby uses the JDK java.util.ServiceLoader to load the required services.
Author
Werner Keil
Since
1.0
Version
2.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

10, overriding the standard SPI provider.
getPriority
()

Overrides javax.measure.spi.ServiceProvider.getPriority.

Returns the default priority.

public String
toString()

Implements abstract tech.units.indriya.spi.AbstractServiceProvider.toString.

Returns a string representation of the object.

Inherited from tech.units.indriya.spi.AbstractServiceProvider:
compareTogetFormatServicegetQuantityFactorygetServicegetServicesgetSystemOfUnitsService

Constructor Detail

DefaultServiceProviderback to summary
public DefaultServiceProvider()

Method Detail

getPriorityback to summary
public int getPriority()

Overrides javax.measure.spi.ServiceProvider.getPriority.

Returns the default priority.

Returns:int

10, overriding the standard SPI provider.

Annotations
@Override
toStringback to summary
public String toString()

Implements abstract tech.units.indriya.spi.AbstractServiceProvider.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override