Back to project page makler.
The source code is released under:
GNU General Public License
If you think the Android project makler listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package pl.net.newton.Makler.db.alert; /*from w w w. ja v a 2s.c o m*/ import java.math.BigDecimal; public class AlertValue { private final BigDecimal value; private final BigDecimal baseValue; private final boolean percent; public AlertValue(BigDecimal value, BigDecimal baseValue, boolean percent) { this.value = value; this.baseValue = baseValue; this.percent = percent; } public AlertValue(AlertBuilder builder) { this(builder.getValue(), builder.getBaseValue(), builder.getPercent()); } public BigDecimal getValue() { return value; } public BigDecimal getBaseValue() { return baseValue; } public boolean isPercent() { return percent; } }