1 /***************************************************************************** 2 * Copyright (C) Zephyr Business Solution. All rights reserved. * 3 * ------------------------------------------------------------------------- * 4 * The software in this package is published under the terms of the BSD * 5 * style license a copy of which has been included with this distribution in * 6 * the LICENSE.txt file. * 7 *****************************************************************************/ 8 9 /* 10 * Created on Oct 12, 2005 11 * 12 * Author Ben Yu 13 * ZBS 14 */ 15 package jfun.yan; 16 17 /** 18 * To represent any mutation to an object or any side effect. 19 * <p> 20 * Zephyr Business Solution 21 * 22 * @author Ben Yu 23 * 24 */ 25 public interface Mutation<T> { 26 void mutate(T obj) 27 throws Throwable; 28 } 29