sascha@3218: package de.intevation.flys.utils; sascha@3218: sascha@3218: public class IdGenerator { sascha@3218: sascha@3218: protected int id; sascha@3218: sascha@3218: public IdGenerator() { sascha@3218: } sascha@3218: sascha@3218: public IdGenerator(int id) { sascha@3218: this.id = id; sascha@3218: } sascha@3218: sascha@3218: public int next() { sascha@3218: return id++; sascha@3218: } sascha@3218: } sascha@3218: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :