Skip to content

Instantly share code, notes, and snippets.

/**
* 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