Code example for MarkerObject

0
 * 
 * @author Gavin King 
 */ 
public class BatchFetchQueue {
 
	public static final Object MARKER = new MarkerObject( "MARKER" );
 
	/** 
	 * Defines a sequence of {@link EntityKey} elements that are currently 
	 * elegible for batch-fetching. 
	 * <p/> 
	 * Even though this is a map, we only use the keys.  A map was chosen in 
	 * order to utilize a {@link LinkedHashMap} to maintain sequencing 
	 * as well as uniqueness. 
	 * <p/> 
	 * TODO : this would be better as a SequencedReferenceSet, but no such beast exists! 
	 */ 
	private final Map batchLoadableEntityKeys = new LinkedHashMap(8);
 
	/**