view flys-artifacts/src/main/java/de/intevation/flys/utils/IdGenerator.java @ 4200:1f212836998e

flys/issue901: Changing the W/Q mode in WQSimpleArrayPanel (used in historical discharge calculation) will now switch the W/QD table in the helper panel, too.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 22 Oct 2012 13:45:49 +0200
parents e0e9a2629d7d
children
line wrap: on
line source
package de.intevation.flys.utils;

public class IdGenerator {

    protected int id;

    public IdGenerator() {
    }

    public IdGenerator(int id) {
        this.id = id;
    }

    public int next() {
        return id++;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org