This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This class is an illustration of using loan pattern(a.k.a lender-lendee pattern) | |
* @author prassee | |
*/ | |
public class IOResourceLender { | |
/** | |
* Interface to write data to the buffer. Clients using this | |
* class should provide impl of this interface | |
* @author sysadmin |