org.mitre.sim.api3
Interface Filter


public interface Filter

Interface representing filters used to refine Populations. Simulation developers implement this interface. The interface defines a predicate used to refine the membership of a Population. Specifically, the developer supplies an instance of a Filter implementation when creating a new Population instance using applyFilter or rejectFilter.


Copyright © 2003-2004 The MITRE Corporation


Method Summary
 boolean passesFilter(Entity entity)
          Return true if Entity meets developer's criterion.
 

Method Detail

passesFilter

public boolean passesFilter(Entity entity)
Return true if Entity meets developer's criterion.

Returns:
true if Entity meets developer's criterion