(original) (raw)
/* * This java source file is placed into the public domain. * * The orginal author is Ceki Gulcu, QOS.ch * * THIS SOFTWARE IS PROVIDED AS-IS WITHOUT WARRANTY OF ANY KIND, NOT EVEN * THE IMPLIED WARRANTY OF MERCHANTABILITY. THE AUTHOR OF THIS SOFTWARE, * ASSUMES _NO_ RESPONSIBILITY FOR ANY CONSEQUENCE RESULTING FROM THE * USE, MODIFICATION, OR REDISTRIBUTION OF THIS SOFTWARE. */ package box; /* * Box is a small two method interface. We don't really care about * what implementations of the Box interface do, as long as they * implement its two methods. * * @author Ceki Gülcü */ public interface Box { /** * Returns the version number of the implementing class. */ public int get(); /** * Perform some operation. We don't really care what it is. */ public void doOp(); }