1 /* 2 * Accumulator.java 3 * 4 * Created on April 1, 2007 5 * 6 * $Id: Histotable.java,v 1.5 2006/09/20 22:40:21 paul_jack Exp $ 7 * 8 * Copyright (C) 2007 Internet Archive. 9 * 10 * This file is part of the Heritrix web crawler (crawler.archive.org). 11 * 12 * Heritrix is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU Lesser Public License as published by 14 * the Free Software Foundation; either version 2.1 of the License, or 15 * any later version. 16 * 17 * Heritrix is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU Lesser Public License for more details. 21 * 22 * You should have received a copy of the GNU Lesser Public License 23 * along with Heritrix; if not, write to the Free Software 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 25 */ 26 27 package org.archive.util; 28 29 /*** 30 * Parameterized interface for a stats-aggregating role. 31 */ 32 public interface Accumulator<T> { 33 public void accumulate(T item); 34 }