Determines whether a particular object should be 'selected'. What exactly
the object is selected for depends on the context in which the selector is
use. Selectors can be used to model a more flexible version of a @{link
java.util.HashMap HashMap}, to model the '===' operator found in some other
languages, as the basis of an object-oriented multiway switch/case, and for
many other purposes.
An example of the "rich HashMap" application of selectors can be seen in
the implementation of the DefaultContainer that is part of the
Jicarilla platform. An example of using the selector as part of a multiway
switch is found in the
org.jicarilla.plumbing.Screener Screener interface.
author: Leo Simons version: $Id: Selector.java,v 1.1 2004/03/23 13:37:56 lsimons Exp $ |