Android Open Source - makler Alert Value

From Project

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.

Java Source Code

/*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;


Java Source Code List