Java BigDecimal getValue(String key, Map valuesMap)

Here you can find the source of getValue(String key, Map valuesMap)

Description

get Value

License

Open Source License

Declaration

public static BigDecimal getValue(String key, Map<String, BigDecimal> valuesMap) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.math.BigDecimal;
import java.util.Map;

public class Main {
    public static BigDecimal getValue(String key, Map<String, BigDecimal> valuesMap) {
        BigDecimal value = BigDecimal.ZERO;
        if (valuesMap.containsKey(key)) {
            value = valuesMap.get(key);/*from   w ww .  j  a v  a 2  s.  c  o  m*/
        }
        return value;
    }
}

Related

  1. getTotalSum(List subTotals)
  2. getUnscaledBytes(BigDecimal bd)
  3. getUpdateAccountsQuery(BigDecimal[] result, int id)
  4. getUserLink(BigDecimal id, String name)
  5. getValue(BigDecimal value, Class clazz)
  6. getWithoutTrailingZeroes(@Nullable final BigDecimal aValue)
  7. hash(BigDecimal bd)
  8. hasSignedChanged(final BigDecimal v1, final BigDecimal v2)
  9. htmlFooter(String providerNo, int count, BigDecimal total)