/** * Copyright (c): Uwe Schmidt, FH Wedel * * You may study, modify and distribute this source code * FOR NON-COMMERCIAL PURPOSES ONLY. * This copyright message has to remain unchanged. * * Note that this document is provided 'as is', * WITHOUT WARRANTY of any kind either expressed or implied. */ /** * * @author Uwe Schmidt * * eine Accumulator Klasse zur Verarbeitung * aller Elemente einer Container Klasse */ //-------------------- public abstract class Accumulate { public abstract void process(Object element); public abstract Object getResult(); }