IncrementCounterResult.java :  » GWT » gwt-dispatch » net » customware » gwt » dispatch » shared » counter » Java Open Source

Java Open Source » GWT » gwt dispatch 
gwt dispatch » net » customware » gwt » dispatch » shared » counter » IncrementCounterResult.java
package net.customware.gwt.dispatch.shared.counter;

import net.customware.gwt.dispatch.shared.Result;

public class IncrementCounterResult implements Result {
    private int amount;
    private int current;

    /** For serialization only. */
    IncrementCounterResult() {
    }

    public IncrementCounterResult( int amount, int current ) {
        this.amount = amount;
        this.current = current;
    }

    public int getAmount() {
        return amount;
    }

    public int getCurrent() {
        return current;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.