obtain

Obtains a cached instance if such is available otherwise a new one.

Return

The instance

Parameters

type

The type of the range.

min

The min value.

max

The max value.

current

The current value.