package com.putable.deathbox;
/**
* The interface presented by a DeathBox, into which only some
* objects may be safely put, otherwise you die.
*
* @author ackley
*
*/
public interface DeathBox {
/**
* Attempt to put another object into a DeathBox.
*
* @param o the object to attempt to place in the DeathBox
* @return true if o was put into the DeathBox successfully, and
* false if 'you died' attempting to put it in (or were
* already dead before the latest putInto attempt).
*/
public boolean putInto(Object o) ;
}