2 * This file is part of storage-units. It is subject to the license terms in the LICENSE file found in the top-level
3 * directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of storage-units,
4 * including this file, may be copied, modified, propagated, or distributed except according to the terms contained
7 package de
.xn__ho_hia
.storage_unit
.mongodb
;
9 import java
.math
.BigInteger
;
11 import org
.eclipse
.jdt
.annotation
.NonNull
;
13 import de
.xn__ho_hia
.storage_unit
.StorageUnit
;
14 import de
.xn__ho_hia
.storage_unit
.StorageUnits
;
19 public final class DecimalStorageUnitCodec
extends AbstractStorageUnitCodec
{
22 protected StorageUnit
<?
> convertToStorageUnit(@NonNull final BigInteger value
) {
23 return StorageUnits
.decimalValueOf(value
);