Here you can find the source of isNotZeroPositive(BigDecimal value)
true
if value is greater than zero.
Parameter | Description |
---|---|
value | a parameter |
public static final boolean isNotZeroPositive(BigDecimal value)
//package com.java2s; //License from project: Open Source License import java.math.BigDecimal; public class Main { /**/*from w w w . j a v a2 s.c o m*/ * Return <code>true</code> if value is greater than zero. * * @param value * @return */ public static final boolean isNotZeroPositive(BigDecimal value) { return value != null && value.compareTo(BigDecimal.ZERO) > 0; } }